[Request] New Function for UI.
#1
Dear Board.
It has been quite some time when I requested a small function that outputted the movie's (that was playing) ending time ($INFO[Player.FinishTime])

I'd like to request a new function that will return the Remaining time in hh:mmConfuseds eg. "-1h 32min 12sec" or "-34min 13sec"

Let the function be called upon "$INFO[Player.RemainingTime]".

This function can be called from skins "DialogFullScreenInfo.xml" like tie one I requested earlier.
Code:
<control type="label" id="1">
<description>The Time when the Video ends</description>
<posx>1250</posx>
<posy>30</posy>
<width>200</width>
<height>25</height>
<textcolor>green</textcolor>
<label>$INFO[Player.FinishTime]</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
</control>
Reply
#2
Allready got them http://wiki.xbmc.org/?title=InfoLabels
MusicPlayer.TimeRemaining Current remaining time in song
VideoPlayer.TimeRemaining Current remaining time in movie
Reply
#3
Jezz_X Wrote:Allready got them http://wiki.xbmc.org/?title=InfoLabels
MusicPlayer.TimeRemaining Current remaining time in song
VideoPlayer.TimeRemaining Current remaining time in movie

EXCELENT!

Skin : PM3.HD in720p mode.
file: DialogFullScreenInfo.xml
Add the controlls below 4 times. 1st one is there already.

Code:
<control type="label" id="1">
<description>System Time Label</description>
<posx>1250</posx>
<posy>10</posy>
<width>200</width>
<height>25</height>
<textcolor>green</textcolor>
<label>$INFO[System.Time]</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
</control>

<control type="label" id="1">
<description>The Time when the Video ends</description>
<posx>1250</posx>
<posy>30</posy>
<width>200</width>
<height>25</height>
<textcolor>green</textcolor>
<label>$INFO[Player.FinishTime]</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
</control>

<control type="label" id="1">
<description>The Time TimeRemaining</description>
<posx>1250</posx>
<posy>50</posy>
<width>200</width>
<height>25</height>
<textcolor>green</textcolor>
<label>$INFO[Player.TimeRemaining]</label>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
</control>
Reply

Logout Mark Read Team Forum Stats Members Help
[Request] New Function for UI.0