Posts: 108
Joined: Nov 2008
Reputation:
3
costa
Senior Member
Posts: 108
Hi ..
I saw your skin gallery .. which is amazing and urges anyone to make this skin a default ..
My question is how you got the duration of a movie to appear in words instead of numbers ?
Like : 1 hr 30 mins for example ?
I installed Night skin and I only get it in numbers .. like movei duration : 117 .. !?!
is there an option I should change ?
Thanks
Posts: 3,379
Joined: Feb 2009
Reputation:
15
mcborzu
Skilled Skinner
Posts: 3,379
Tell me about..about a week ago XBMC switch to reading duration from the file itself so it now ouputs duration in a solid number, i.e - 117...I can't add the "minutes" tag or it'll screw up premerge guys
Looks like they are getting close on the merge maybe end of the week I'll just put a final pre-merge version. So then all updates and merge stuff wont be tied down by pre-merge limitations...
Check out Night - A Skin For XBMC
Posts: 108
Joined: Nov 2008
Reputation:
3
costa
Senior Member
Posts: 108
So it is not an option in xbmc ? you mean it is a feature in the skin ?
Posts: 17,453
Joined: Aug 2007
Reputation:
591
Hitcher
Team-Kodi Member
Posts: 17,453
XBMC will get the length of the video from the file itself and not the scraper so you'll only see it displayed in minutes for then on.
Posts: 50
Joined: Mar 2010
Reputation:
0
I'm not very familiar with code, but once it pulls the number from the file in minutes can't you send it through code that divides 60 into it to get hours and uses the remainder (or multiplies the decimal portion by 60) for minutes?
Posts: 108
Joined: Nov 2008
Reputation:
3
costa
Senior Member
Posts: 108
But we see it in Night gallery !!! how can we convert it !?!
Posts: 1,163
Joined: May 2008
Reputation:
7
Waffa
Posting Freak
Posts: 1,163
Old screen shot....use an old build and you revert it :p