Total duration in DialogAlbumInfo?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
krish_2k4 Offline
Fan
Posts: 578
Joined: Aug 2010
Reputation: 9
Post: #1
How can i get the total time/duration for an album in DialogAlbumInfo?

<label>$INFO[Container(3030).Totaltime] mins</label>

<label>$INFO[ListItem.Duration] mins</label>

neither of these work.
find quote
Jezz_X Online
Team-XBMC Skinner
Posts: 5,263
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #2
Don't think you can

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
krish_2k4 Offline
Fan
Posts: 578
Joined: Aug 2010
Reputation: 9
Post: #3
oh, could it be possible to have this in Frodo/next xbmc release?

Trying to get a consistent look to my skin, I have total movie time, total number of seasons and episodes for the video views so would be nice to have total duration for an album.

most music players have this function so would be nice to have it in xbmc too.
(This post was last modified: 2012-05-13 13:33 by krish_2k4.)
find quote
pecinko Offline
Donor
Posts: 3,001
Joined: Dec 2008
Reputation: 26
Location: Prague / Belgrade
Post: #4
AFAICT, XBMC uses scraped album duration instead of song item count.

This information may be misleading if you have a few songs from that album or if have a whole album, but your album version has 10 songs as opposed to scraped one which contains bonus tracks.

I would expect XBMC to use locally available info and add scraped ones only when local info is not available.

My skins:

Quartz
Amber
find quote