I have multiple folders containing charts from various dates. This results in somtimes very many copys of the same title, using up much space (especially on portable devices) and messing up my libary. However the files contain (exept title and artist) different tags, such as the date (stored in a custom field). I'd like to merge all this data into one file, preferabilly keeping the one with the highest bitrate.
What I've done so far:
- Backup of all files.
- Renaming of same songs with different title/ artist in tags, so they can be automaticly compared
- Automaticly extracted all covers with matching name, selected the ones with highes quality by hand
- Started with the script...
My plan was to get a string with "$list($char(9),|,)" of each file, search for prefixes and seperators to slice the string appart, add the intormation to variables and join them in the end back together. I haven't worked on determing the "highest" quality yet, but I hope to be able to export the path of the files together with all tags as .txt. Based on this data I want to move the files into a seperate folder where mp3tag can add all metadata from the file.
$loop(%title%$char(9)%artist%) $loop(0) ... $loopend() $loopend()
a) find groups with the same title and artist (works)
b) inspect every file idividually (works as well)
However I can't find a solution to go through all tags. $loop executes a list of tasks only once per file, not once per tag as I'd need. Multiple loops after each other don't work for me, the amount of tags is indefinite. Also I'm not able to access any variables created before a loop starts (this issue is allready known, but I couln't find any solution), that limits possibilities for a workaround.
I'm out of ideas.
Edit: I've realy considered to do it just by hand, and I'd have done it for a few files, but not for 1200, plus additional 7000 files if I'd include earlier files as well.