How to write a script to remove multiple tagging fields

So, I have been running into an issue with the tags applied by Picard, and how Musicbee decides to interpret them. Basically, Musicbee sees any instrumentalist, composer, writer, producer, etc. as a reasonable way to sort my albums by “artist”. Even when I try and sort by “album artist” random people from the credits of these files will pop in and out. I have tried everything in Musicbee to rectify this issue, before I realized I didn’t even want or need this information in the first place.

I’ve started looking at how to write scripting, and I am not a coding or scripting savvy person. I am a bit confused by all of this. Would it be best practice to use the function “delete,” or is “unset” better? Also, how do I automate this scripting? Should this scripting run after they have been matched and are in the album pane but unsaved? Or would saved be better?
Thanks!

Use unset, if you don’t want this data to be populated from MusicBrainz data, but keep existing data in the files. Use delete if you want to completely remove it from the files as well. So in your case I think delete.

Scripts defined in Options > Scripting automatically run on data loaded on the right, if the script is enabled (the checkbox is set). Otherwise you can also manually run a script on selected files via the context menu.

4 Likes