Kodi Community Forum
1 Hour and 56 min" instead of 116 min? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Metropolis (https://forum.kodi.tv/forumdisplay.php?fid=162)
+---- Thread: 1 Hour and 56 min" instead of 116 min? (/showthread.php?tid=291619)



1 Hour and 56 min" instead of 116 min? - gate1975mlm - 2016-09-20

I forget if this was asked before or not.

Is there any chance you could change the type of display for how long a movie is like for example instead of "116 min" to "1 Hour and 56 min" instead?

Thanks


RE: 1 Hour and 56 min" instead of 116 min? - jingai - 2016-09-20

Not that I know of. The Player can do this, but I don't think Kodi provides different formatting for ListItem.Duration.


RE: 1 Hour and 56 min" instead of 116 min? - telexxingou - 2016-09-21

Hello…
My metropolis skin mod do that using skinhelper… if i can help

Code:
variable name="MovieDuration">
    <value condition="!String.IsEmpty(Window(Home).Property(SkinHelper.ListItemDuration.Hours))">$INFO[Window(Home).Property(SkinHelper.ListItemDuration.Hours)]h$INFO[Window(Home).Property(SkinHelper.ListItemDuration.Minutes)]</value>
    <value condition="!String.IsEmpty(Window(Home).Property(SkinHelper.ListItemDuration.Minutes))">$INFO[Window(Home).Property(SkinHelper.ListItemDuration.Minutes)] min</value>
    <value>$INFO[ListItem.Duration]</value>
</variable>



RE: 1 Hour and 56 min" instead of 116 min? - gate1975mlm - 2016-09-21

If it was was changed the only thing is though when you right click Movie or TV Show and select information in the window the length is at the far top right and there is not enough room to fit the extra text. But that could just moved some to the left right?

I know this is a very small thing but I do think "1 Hour and 20 min" would be better "80 min" Smile


RE: 1 Hour and 56 min" instead of 116 min? - jingai - 2016-09-21

Yes, but I'd personally prefer to wait until Kodi allows this in core.. I'll still consider using SkinHelper for it, but not yet -- I'm too close to the release of 3.4.0 now.


RE: 1 Hour and 56 min" instead of 116 min? - gate1975mlm - 2016-09-21

(2016-09-21, 15:02)jingai Wrote: Yes, but I'd personally prefer to wait until Kodi allows this in core.. I'll still consider using SkinHelper for it, but not yet -- I'm too close to the release of 3.4.0 now.

Sounds good Smile

Also have you heard if the Kodi developers are planningt add this?

Or maybe I should make a feature request?


RE: 1 Hour and 56 min" instead of 116 min? - jingai - 2016-09-21

Have not heard if it's planned or not. I suspect they don't want to add more infolabels for it, but don't have time to add formatting of infolabels.. something like ListItem.Duration(hh:mm), like is done with the Player.

But yes, a feature request is the right thing to do.