Hi all,
I’ve noticed recently Picard 3.0.2 will try to change certain genres (Video Game Music → Video Game, Anison → Anime), even when the tags are correct on the release. Has anybody else experienced this since updating?
None of these are genres in MB terms. Can you give a release as an example?
Honestly that sounds great. I hate how genres will add “music” at the end of the something like it’s so redundant and obvious it’s about music so why have tags like “Pop Music”, “Rock Music”. I’m not sure if there is script or plugin for this but removing a repetitive word from genres would be nice
Of course I can’t seem to track down a release that is doing this now, but realized I should note that I’m using this Genre list and script to filter
Just as I said it, it happened on this release
![]()
Even after adding the Video game music tag to the release group, it persists (+Reopening Picard)
That link goes to a whole forum thread with 10 pages. I’m not going to read through posts covering the last 5 years, sorry. Please just post the script you are actually using.
It is only the first post that needs reading which gives this link to dropbox: https://rebrand.ly/Picard_Genre_whitelist_and_scripts
In this example I see lines as follows that have an affect:
$replacemulti(%\_genre%,Vgm,Video game music)
$replacemulti(%\_genre%,Video game music,Video game mmmmm)
$setmulti(\_genre,$replace(%\_genre%,mmmmm,music))
That “mmmmm” thing looks odd, until you realise it is a shorthand also used for adding phrases like “folk music” or “traditional music”.
What is not in this script is the word “anime”. So I can only assume either a different script is in use, or this script is not working.
You have “VGM” against the artist, “Video Game Music” at Release Group Level, and one track is tagged as “Waltz”. No anime anywhere from the Release or from that script.
I’m with @Llamabuster22 in that music tags should not have the word music in them. Traditional tags never did this. When looking at this script, it is introducing some very wordy alternatives and adding “music” in all over the place where is does not need to be.
Ah, I see, thanks. It was late and I stopped reading after two screenfuls of text, the link only came after that.
In fact, the script is supposed to remove “music” from the end of all genres, except for a chosen few. The purpose of the “mmmmm” kludge is to safeguard these against that removal. However, $replacemulti() only works for actual multi-value variables, i.e. when a track has more than one genre. If there is only one genre, %_genre% contains a simple string and $replacemulti() does nothing, so the safeguard fails.
I don’t know whether that’s a bug in $replacemulti() or a bug in the script. Either way it can be circumvented by making sure that we always have a real multi-value variable. Put this at the top of the script, between the $setmulti() and $replacemulti() lines:
$setmulti(_genre,%_genre%; %%)
This appends an empty value, which will be removed later at the end of the script.
But that can’t be all. There is nothing in there that would change “Anison” to “Anime”, so there must be something else going on.
That post starts at a very beginner level, but nobbled by none of the images working in the UK. Interesting to see the script does try and strip out the “Music” text. Sorry I read it back to front (head was in other things). But the script was interesting me as I am getting an utter mess in my genres lately and looking for a fix.
I was mad enough to read the whole thread… and the OP did admit that they are no coder and just pokes a script until it gives the required result. Its had a few re-writes, but all the good stuff is in those first two posts. No point in reading the thread.
This is the one bit I can clearly agree on. The word “anime” is not in any of those three files, and it is not on the Release at any level, so has to be a different script doing that.
Sorry for the delay in reply, but Anime is in the genre whitelist, although I’m not sure why that would cause this
Me neither. The whitelist does not change anything, it only means that the tag is not removed when it is already there.
You still haven’t provided an example where this happens.