Posts: 73
Joined: Feb 2013
2014-07-31, 17:41
(This post was last modified: 2014-08-05, 17:15 by User 156625.)
List item.duration returns the duration in the format mm
s. Is it possible to remove the padding on minutes? I.e. Display three minutes and 1 second as 3.01 instead of 03.01?
Posts: 17,243
Joined: Aug 2007
Reputation:
566
Hitcher
Team-Kodi Member
Posts: 17,243
With a lot of variables yes.
Posts: 73
Joined: Feb 2013
Would you mind sharing the method hitcher or is it so slow its not really viable?
Posts: 73
Joined: Feb 2013
lol! Thanks... Nothing a spreadsheet can't handle help generate I s'ppose....
Would this also work for player.time and player.duration used on a progress bar?
Posts: 73
Joined: Feb 2013
2014-07-31, 23:50
(This post was last modified: 2014-07-31, 23:51 by User 156625.)
got it working - only 1800 lines for duration, player time and player duration, but nice and easy in excel. Thanks again.