I am using the Album Cover view and have created a virtual tag to act as a sub-grouping header. It works OK but not completely and I cannot figure out what went wrong.
What I want to do is to group according to one or several of :
- Album release: to separate various reissues and remasters. I have create a Custom tag called RELEASE for that.
- Disc #
- The work: to group together tracks that belong to the same suite or composition. This on is mostly for classical music but it works also for songs that are part of the same suite in Prog Rock albums for instance. I have created a custom tag called COMPOSITION for this one.
Now, what I have done is create a virtual tag called Album_subheader that detects whether each of these tags is non-null and collapses them is necessary. My formula is as follows (it feels clumsy but I haven't figured out a smarter way to do it):
$IsNull(<Release>,$IsNull(<Disc#>,$IsNull(<Composition>,,<Composition>),$IsNull(<Composition>,"Disc "<Disc#>,"Disc "<Disc#>" - "<Composition>))," "$IsNull(<Disc#>,$IsNull(<Composition>,<Release>,<Release>" - "<Composition>),$IsNull(<Composition>,<Release>" - Disc "<Disc#>,<Release>" - Disc "<Disc#>" - "<Composition>)))
It actually works quite well in many instance. Some examples:
- Simply separating discs:
https://imgur.com/5UH8P5f- Separating discs and song suites within each disc:
https://imgur.com/FW3mAQB- Separating the works in classical music:
https://imgur.com/cRE2nFZ- A trickier one, the original album has a single disc, but there is a reissue with two discs:
https://imgur.com/3Zu1N86But, there is this one case that makes me scrtach my head. It is an album for which there has simply been a reissue and in this case the two groups are mixed, like the app is trying absolutely to sort first by track #:
https://imgur.com/sUly1TeI have checked and it doesn't seem that any other tag is different, so I cannot figure out why it doesn't work here and works, for instance, in the fourth example above.
I have the feeling I did something very stupid but I haven't been able to detect it. Sorry if this has already been addressed somewhere, I searched the forum but have not find anything that helped.
Any idea?