2013-04-24, 16:05
As a novice in XBMC skinning I am struggling to work out how I could display on a label the time remaining for a particular PVR episode.
To do this I want to find the difference in minutes between the current System Time and the EndTime of the item.
So it would be ListItem.EndTime - System.Time and then display the result on a label:
For example something like below
<label>$INFO[ListItem.EndTime - System.EndTime] mins</label>
But the syntax above does not work. Can anyone point me in the right direction here?
To do this I want to find the difference in minutes between the current System Time and the EndTime of the item.
So it would be ListItem.EndTime - System.Time and then display the result on a label:
For example something like below
<label>$INFO[ListItem.EndTime - System.EndTime] mins</label>
But the syntax above does not work. Can anyone point me in the right direction here?