should check if a genre tag is not empty. Otherwise it should fill the genre tag with the UNSET info text.
Im pretty sure this worked fine until Picard 2.3.
In the latest Picard 2.3, this seems not to work anymore. Even if a genre contains “Rock” or “Black Metal”, the text “***** UNSET *****” will be filled in the gerne tag.
Could please someone check this?
If this is not a problem in my environment, I will open a ticket on JIRA.
It’s not specifically about genres but in general about the tags in the file. The scripts get executed for data loaded from MusicBrainz. At that point there are no files available. If you later match a file to the loaded data the script does not run again. There have been attempts to change that, e.g. the 2.0 release had a patch to change that. But it got reverted die to side effects. This is one of the top requested features and I hope we can address this in one of the next releases.
The current workaround is to run the script manually instead.
Should it work If I right click the album on the right side and execute a script with only above single line?
In my tests, I can’t get it working with this workaround
I’m sure the error lies between my chair and my screen:
I just don’t understand what I’m doing wrong:
If I do the same steps with the same album WITHOUT genre set (the genre tag doesn’t exist), the script works fine.
You are actually right, that doesn’t work on the tracks indeed. Actually this is part of the file script issue. The metadatabox on the bottom shows a combined view of data set for the file and for the track, but the scripting operates on the track metadata only