2014-01-14, 20:45
(2014-01-14, 13:20)HiPi Wrote: I wanted to make small customization, but so far with no success :-) Particularly, I would like to change format of PlayerTime and PlayerDuration info labels depending on media type, e.g. when playing video I would like to have HH:MM format instead off default HH:MM:SS.
You don't need to fiddle around with the sources to achieve this (indeed, with that change you just broke things like the progress bar percentage calculation).
Just open up your ~/.xbmc/userdata/LCD.xml in your favorite editor, then change the corresponding line you want a different time-format to e.g.:
Code:
$INFO[Player.Time(hh:mm)]
HTH,
nst