2013-11-25, 22:38
I previously posted How to display 'Time remaining' in the OSD dialog in Confluence . For consistency, I also wanted to modify the PAUSED dialog to do the same. Here is how I did it.
I modified the file DialogSeekBar.xml in the application's folder :
Copy and paste the file so you have a backup.
Open DialogSeekBar.xml in a text editor.
Search for the line:
in the code block
Comment it out:
Add this line after it:
Save the file and replace the original file with the modified version. Now the PAUSED dialog displays time remaining:
I modified the file DialogSeekBar.xml in the application's folder :
Code:
/Applications/XBMC.app/Contents/Resources/XBMC/addons/skin.confluence/720p/DialogSeekBar.xml
Copy and paste the file so you have a backup.
Open DialogSeekBar.xml in a text editor.
Search for the line:
Code:
<label>$INFO[Player.Time] - $INFO[Player.Duration]</label>
in the code block
Code:
<control type="label">
<description>Elapsed Time Label</description>
<posx>20</posx>
<posy>23</posy>
<width>240</width>
<height>20</height>
<font>font13_title</font>
<textcolor>white</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Player.Time] - $INFO[Player.Duration]</label>
<visible>!Player.Seeking</visible>
</control>
Comment it out:
Code:
<!-- <label>$INFO[Player.Time] - $INFO[Player.Duration]</label> -->
Add this line after it:
Code:
<label>$INFO[Player.Time] (-$INFO[Player.TimeRemaining(hh:mm:ss)])</label>
Save the file and replace the original file with the modified version. Now the PAUSED dialog displays time remaining:
![Full sized picture Image](http://img585.imageshack.us/img585/4056/evin.png)