Has anyone ever setup an action/script in Mp3tag to import the "Sort Album" and "Sort Artist" fields from the iTunes Library xml catalog file into the ALBUMSORT and ARTISTSORT tags in the actual MP3 file (if they are blank in the file)?
My issue is that I would like my iTunes library to be portable in case I ever stop using iTunes. However, many fields (including the sort ones) are stored in the catalog/library file instead of the file itself, and I want to preserve that data. Most of my files actually already have that, since I set that info before importing the tracks into iTunes. However, I have a lot of old ones out there that were added to iTunes before I started doing that, so those tags are blank and I would like to set them.
The xml file has the filename in it (as well as the track #, song title etc), so I'm thinking there should be a way to extract the necessary fields in the xml to a text file that I can import using Mp3tag, but I've never really tried anything like that before.