Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Help with title formatting in album list (Read 414 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help with title formatting in album list

Hi, I'm trying to accomplish a very specific way to view/sort my tree in the album list panel. I'm most of the way there but I can't figure out the last important bit. I hoping someone can help.

Here's my view so far:
$if($greater($meta_num(album artist),1),%artist%|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%,%album artist%|%album%|[[%discnumber%.]%tracknumber%. ][%track artist% - ]%title%)

It checks to see if there is more than one value in the Album Artist field. If there is, then the view displays info starting with the Artist. If not, it uses Album Artist. This lets me keep all of the artists that appear on compilations under "Various Artists" but also lets me view artists from splits where they would show up alphabetically, regardless of their sequence on the split. I.E. for the split between Sadness and Stellafera, I could go to either Sadness or Stellafera to find their music. (This is mostly helpful for when I can't remember the name of the other artist on the split.)

What this results in is a tree that looks like this:
Sadness
-Sadness / Stellafera split
--2 sadness songs
Stellafera
-Sadness / Stellafera split
--4 Stellafera songs

What I want is a tree that shows both Sadness and Stellafera songs regardless of which artist I'm viewing. Is that possible? Something like this:
Sadness
-Sadness / Stellafera split
--2 sadness songs
--4 Stellafera songs
Stellafera
-Sadness / Stellafera split
--2 Sadness songs
--4 Stellafera songs

I'm not even sure how I would go about forming that query, I don't even really have any ideas on where to start.

 

Re: Help with title formatting in album list

Reply #1
Someone on Reddit helped me out so I'm following up here with the answer. All I needed to do was use %<album artist>%. No need for the if or the greater than or the meta_num. Just %<album artist>% and the rest of the preferred view structure and I get exactly what I wanted (e.g. all Sadness and Stellafera tracks showing up under both artist names and keeping stuff like Various Artists sectioned off).