LCD Player.Time
#1
I think it would be useful to display Player.Time as 0:12:34 instead of the current 00:12:34. Very few content is over 10 hours and saving a character on this seems useful for many 16x2 LCDs. Alternatively, in order to not break current behaviour, it might be nice to not replace the current Player.Time behaviour but instead introduce (say) Player.Time5 (for h:mmConfuseds) and Player.Time3/Player.Time4 (mConfuseds/mmConfuseds, for audio tracks). If this length doesn't fit the contents' length a fallback using the shortest format that fits could be used.
Reply
#2
Here are time formats You can already use:
Code:
Player.Time(hh)
Player.Time(mm)
Player.Time(ss)
Player.Time(hh:mm)
Player.Time(mm:ss)
Player.Time(hh:mm:ss)
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#3
Thanks, that's pretty nice. Any chance of the format h:mmConfuseds being added?
Reply
#4
that should also work
Reply
#5
Jezz_X Wrote:that should also work
Hmm, that doesn't appear to be the case. I can confirm that the mmConfuseds format works fine but the h:mmConfuseds shows up as hh:mmConfuseds.

BTW: is this usage documented anywhere? If not I'd be glad to add it to the wiki.
Reply
#6
Its all marked here http://wiki.xbmc.org/?title=InfoLabels but the extra stuff is in system.time but applies to anything with .time
Reply
#7
Jezz_X Wrote:Its all marked here http://wiki.xbmc.org/?title=InfoLabels but the extra stuff is in system.time but applies to anything with .time
Ok thanks, any chance of this h:mmConfuseds format being added?
edit: Patch submitted @ http://trac.xbmc.org/ticket/11617
Reply

Logout Mark Read Team Forum Stats Members Help
LCD Player.Time0