I couldn’t sleep in the taxi on the way to Bristol Airport at 4 o’clock in the morning to catch the plane to Cyprus for my vacation. Instead I worked out how to improve my MP3 and M4A Compilation Tag Modifier script (I really need to think of a decent name for it). I decided it needed to work through your music library itself, without needing to be moved around all the directories by the user. It also needed to be intelligent and work out which albums were compilation albums based on the number of artists. And finally, it needed to ask the user if everything is OK (something that could in future be made an option, but for now you have to go through with it), just in case it’s got something wrong.
Today I sat down and coded all of these things, and also used it as an excuse to try out git, which was fun.
Most of the same instructions apply from the old post, except now you just need to place it in the root of your music directory, and let it do the rest. Bear in mind that when it asks for user input – if you type something it doesn’t recognise it will just go ahead with the default (which is in a capital letter), so press ctrl+c if you want to abort the program completely. It asks right at the end before going ahead and actually changing your music files though (and that defaults to NOT doing it, you have to specify yes). Also, all user input is lowercase only, uppercase isn’t recognised (something really simple to implement, and I will do at some point).
As far as I know it should work fine on Windows as well as Linux/Mac OSX, though I haven’t tried it on Windows.
Important: I haven’t checked it fully for bugs. I literally just finished coding it. So be careful! I take no responsibility if it mucks up your entire music library or doesn’t work, or gets into infinite loops, that’s what backups are for.
With that said, download it and give it a try.
If you encounter any problems/bugs, please be helpful and post a comment. If it was useful to you, also leave a comment.





[...] expressed interest in trying out my Compilation Tag Modifier script, but I agree having to install Strawberry Perl and compile a bunch of modules on Windows is [...]
Despite me being able to continuously break it, through unknown fault that only occurs with me, its a very useful script