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: Change the default atribute "artist" (Read 882 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Change the default atribute "artist"

The default for artist is “artist”, “album artist”, “composer”, “performer”. I need to remove composer. Where do I do this?

Background: I am doing classical music and have a custom column "artist, conductor, orchestra" If "artist" is missing, I want the field ignored. I have been putting a single space in the “artist”, “album artist”, and “performer” fields which satisfied the criteria of "not missing". Now the space is ignored and the field is considered missing. Therefore, "composer" appears as the artist. Foobar 1.6.6

Re: Change the default atribute "artist"

Reply #1
Hi there,

The default for artist is “artist”, “album artist”, “composer”, “performer”. I need to remove composer. Where do I do this?

Use $meta to return the field without substitutes.

And $if3 to return the first field present.

Code: [Select]
$if3($meta(artist),$meta(album artist),$meta(performer))

^ If artist is tagged, returns "artist". If artist is not tagged, returns "album artist" if present. And so on... I'm not sure how spaces in the tags react, but I would suggest removing them and use title formatting like the above.

See foobar Help >Title Formatting Help or the Reference wiki for details.

 

Re: Change the default atribute "artist"

Reply #2
Works. Thanks