Hi mp3tag scripting experts,
I'm looking for assistance in automating my genre tagging workflow. I've been manually assigning genres to my music files, but I'd like to streamline this process using a script.
Here's my situation:
I have a data source (which I can format as a CSV or text file) that contains a lookup table of artists and their corresponding genre information. The format of this data is:
Artist;Genre;Subgenre;Decade
For example:
ABBA;Pop;Disco-Pop;70s AC/DC;Hard Rock;Blues Rock;70s Adele;Pop;Soul;2000s
I want to create an mp3tag script that does the following:
- For each file being processed, the script should read the "Artist" tag.
- The script should then search the lookup table for a matching artist.
- If a match is found, the script should write the "Genre;Subgenre;Decade" string into the Genre tag of the file.
Essentially, I want to automate the process of taking the Genre, Subgenre, and Decade information from my lookup table and applying it to the Genre tag based on the Artist tag.
Could someone provide guidance or a script example on how to achieve this in mp3tag? I'm comfortable with basic scripting concepts but need help with the specific syntax and functions within mp3tag. TIA!