I would like to use two functions in the sub-grouping header:(https://i.imgur.com/ArQxz5C.png)
@ wirtual82
What formula are you using for your combined sub-grouping header?
<Artist>$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")),)
You have to adjust the formula so MB knows to only display the discs and subtitle for track #1.
Try this:Code<Artist>$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")),)
You have to adjust the formula so MB knows to only display the discs and subtitle for track #1.
Try this:Code<Artist>$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")),)
Great thanks! The artist name still appears on the first line of the disc name. I assume this cannot be removed, can it? Some names are long enough to make it look messy etc. and the disc seperation loses the whole effect.
You have to adjust the formula so MB knows to only display the discs and subtitle for track #1.
Try this:Code<Artist>$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")),)
Great thanks! The artist name still appears on the first line of the disc name. I assume this cannot be removed, can it? Some names are long enough to make it look messy etc. and the disc seperation loses the whole effect.
So, you're trying to sort (divide) the subgroupings by artist, without having the <Artist> tag appear in the subgrouping header?
You have to adjust the formula so MB knows to only display the discs and subtitle for track #1.
Try this:Code<Artist>$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •")),)
Great thanks! The artist name still appears on the first line of the disc name. I assume this cannot be removed, can it? Some names are long enough to make it look messy etc. and the disc seperation loses the whole effect.
So, you're trying to sort (divide) the subgroupings by artist, without having the <Artist> tag appear in the subgrouping header?
I just copied the code from another thread. I have no idea about the simplest coding.
Please let me know if you know how to divide both - the artists and dics - without including the artist in the first line of the album etc.
I'm unclear on what you want to accomplish. The artist appears because of the <Artist> tag, but you will need the tag to be there to "divide" the subgrouping by artist. There's no other way to do so. Does removing the <Artist> tag and sorting by <Track> and <Artist> give you your desired result?
$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Volume "<Disc#>" •","• Volume "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,,"• "<Set Subtitle>" •"))
Great thanks! The artist name still appears on the first line of the disc name. I assume this cannot be removed, can it? Some names are long enough to make it look messy etc. and the disc seperation loses the whole effect.
$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,<Artist>,"• "<Set Subtitle>" •")),<Artist>)
Great thanks! The artist name still appears on the first line of the disc name. I assume this cannot be removed, can it? Some names are long enough to make it look messy etc. and the disc seperation loses the whole effect.
Is this closer to what you want?Code$If(<Track#>=1,$If(<Disc Count>>1,$IsNull(<Set Subtitle>,"• Disc "<Disc#>" •","• Disc "<Disc#>" • "<Set Subtitle>" •"),$IsNull(<Set Subtitle>,<Artist>,"• "<Set Subtitle>" •")),<Artist>)
If it's a multidisc album, it will split with • Disc # • sub-header, all tracks except first track have Artist sub-header.
If a multidisc album with subtitle, it will split with • Disc # • Set Subtitle • sub-header, all tracks except first track have Artist sub-header.
If a single disc item with subtitle, it will display • Set Subtitle • above first track, all other tracks have Artist sub-header.
If no subtitle and single disc, all tracks have Artist sub-header.