I’ve been noticing some unexpected results with a script regarding genres that I am using.
In trying to narrow down what is happening it seems it is related to this:
In Picard I have set ‘use genres from MusicBrainz’, and I have the wikidata genre plugin active.
That seems to work well, and I am assuming Picard retrieves both genres from MusicBrainz and wikidata, and assembles them together into the genre tag.
But now I create a custom secondary genre tag named genre2.
I have some complicated purpose and scripts for it, and while that seemed to work well, I have also been noticing some unexpected results in the sense that genres sometimes differed between the original genre tag and the output of my script.
Then I tried to narrow the issue down. Here is a very simple script, used on two tracks that indicate very well what seems to be the cause of the issue:
Using this simple script:
The first track gets nothing for genre2, the second one only gets ‘Soul’
It’s not completely obvious to me where the genres get sourced from exactly, but I am guessing that only the ones from Wikidata don’t get ported over to genre2?
Is this some oversight in Picard or the Wikidata plugin, or am I missing something and am perhaps doing something wrong?