Info label for Album Duration?
#1
Is there one?  Looked over the wiki and couldn't come up with anything.
Reply
#2
(2020-03-03, 22:37)YerMusic (IO) Wrote: Is there one?  Looked over the wiki and couldn't come up with anything.
No.  And I don't think "album duration" is a well-defined concept.  I don't know of any tag format that supports it, and I don't think album scrapers can get it at the current scrape sites.  So it isn't stored in the library.  It could be computed from the sum of the track durations at least for tracks in the library but I don't know of a way to do that in skin code.

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix
Leia see: 304472
Reply
#3
Yeah I don't think it's possible without a script of some kind.

In terms of a script - Skin Helper provides a window property of current focus album duration:
https://github.com/kodi-community-addons...usic-items

$INFO[Window(Home).Property(SkinHelper.ListItem.Duration)]
Reply
#4
There is $INFO[Container.TotalTime] which with a quick test in Estuary seems to give desired result.

Changing the TopBar entry in MyMusicNav.xml to

			
<include content="TopBar">
<param name="breadcrumbs_label" value="$LOCALIZE[2]" />
<param name="sublabel">$INFO[Container.SortMethod,$LOCALIZE[31022]: , ∙ ]$INFO[Container.CurrentItem,, / ]$INFO[Container.NumItems]$INFO[Container.TotalTime,[CR]Duration Test: ,]</param>
</include>

gives

Image
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Info label for Album Duration?00
This forum uses Lukasz Tkacz MyBB addons.