Thread Rating:
  • 0 Vote(s) - 0 Average
Disk Number
#1
I am trying to figure out what to put for the Disk Number media tag.
I want it to show up when there is a multiple disk album, but not show up when its just one disk. So it'll show: Album Name [Disk 2/2] with multiple disks and just Album Name with just single disk.
I have my files tagged with Album Name and disk numbers labeled.
Reply
#2
Show up where exactly?

XBMC will already combine multi-disk albums into one entry anyway. Thus, the only time you see one disk at a time is if you are playing a song and it shows the album name. In this case you don't know how many disks there are in the set - you know only which disk the current song is on.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
http://wiki.xbmc.org/?title=InfoLabels
MusicPlayer.DiscNumber
Disc Number of current song stored in ID tag info, also available are "MusicPlayer.offset(number).DiscNumber" offset is relative to the current playing item and "MusicPlayer.Position(number).DiscNumber" position is relative to the start of the playlist
Reply
#4
I am using Disk.Number but it only says '1' or '2', I don't get the "CD" part. That is what I'm looking for.
Reply
#5
<label>$LOCALIZE[blah] $INFO[blah]</label>
or
<label>CD $INFO[blah]</label>
Reply
#6
Hello

Sorry to post in an old thread but I am looking to do the same

If I have an album that has two CD's then I populate the disc number field with 1/2, 2/2 etc, and albums with only one CD 1/1

When playing an album from my library, the main screen will show me the artist, album and disc number, I am trying to configure XBMC not to show the disc number if there is only one CD

Thank you
Reply
#7
in your case <visible>!Stringcompare(ListItem.DiscNumber,1/1)</visible>
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#8
(2013-04-02, 17:25)phil65 Wrote: in your case <visible>!Stringcompare(ListItem.DiscNumber,1/1)</visible>
Thank you, I'll give that a try
Reply
#9
Only just got round to trying this, what file do I need to edit?
Thank you
Reply



Logout Mark Read Team Forum Stats Members Help
Disk Number00