If/then for Artist/Genre

Hi all,

I know this might be a bit of a long-shot (or not?) but I was wondering if there was a way (as part of Scripting, maybe?) where Picard could format the Genre value based on the Artist’s value where it references a list of conditions that I would update manually.

For example, if Artist = Beethoven, then Genre = Classical
if Artist = Eminem, then Genre = Rap, etc.

As time goes on, I would add new artists/genres to the script.

Apologies if I’m not using accurate terminology. I know this sounds tedious but in my specific use-case it is preferable. Thanks.

Is this the same question you asked over there in the Mp3tag forum?

1 Like

A tagger script like this should work:

$if($eq(%artist%,Eminem),$set(genre,rap))

Just note that the spelling of the artist needs to match.

3 Likes