Posts: 23
Joined: Nov 2009
Reputation:
0
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.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
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
Posts: 23
Joined: Nov 2009
Reputation:
0
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.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
<label>$LOCALIZE[blah] $INFO[blah]</label>
or
<label>CD $INFO[blah]</label>
Posts: 3
Joined: Aug 2011
Reputation:
0
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
Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
in your case <visible>!Stringcompare(ListItem.DiscNumber,1/1)</visible>
Posts: 3
Joined: Aug 2011
Reputation:
0
Only just got round to trying this, what file do I need to edit?
Thank you