Skip to main content
Topic: %album artist% in Album Browser (Read 2099 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

%album artist% in Album Browser

I am using foo_browser to give me an itunes like listing UI.

I currently only have 2 panels, Artist, and Album.

On my Artist panel, I would like the list to show 'Various' (the album artist tag) when it encounters the album-artist tag in id3, as opposed to listing every artist that is within 1 compilation album.

I guess I need some format code to go in the artist panel setup box?

Code: [Select]
$if2(%artist%,<MISSING>)


Sorry if this has been asked a 1000 times before.. I did a search, didn't find terribly much, and tried a few things with no luck...

%album artist% in Album Browser

Reply #1
Try %album artist% instead of %artist%.  Should work...that is what I use.  The %artist% code will pull out the ARTIST tag first, then ALBUM ARTIST if there is no ARTIST.  The %album artist% code will pull out ALBUM ARTIST first, then ARTIST is there is no ALBUM ARTIST.

%album artist% in Album Browser

Reply #2
Try %album artist% instead of %artist%.  Should work...that is what I use.  The %artist% code will pull out the ARTIST tag first, then ALBUM ARTIST if there is no ARTIST.  The %album artist% code will pull out ALBUM ARTIST first, then ARTIST is there is no ALBUM ARTIST.


Ahh so simple  Thanks works a treat... had to shift-right-click and switch views to album and back to get update....

What is the difference between the format and sort fields?

%album artist% in Album Browser

Reply #3
The sort field allows to perform a specific type of sort using that field.

For instance, if you put
Code: [Select]
$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4))', 'The,%album artist%)

into the sort field, then it will ignore "The" at the start of the ARTIST field.  This would result in "The Beatles" being sorted into the B's rather than in the T's.  It would still display it as "The Beatles" even though it is sorting as if it is "Beatles, The".

 
SimplePortal 1.0.0 RC1 © 2008-2019