Yesterday, 08:49 PM
Almost a year later and I finally decided to tackle this. I am posting a follow-up in case it helps anyone else out. There were a few bad values in the MP3 tags of my files. Depending on the file, it might have had a bad album sort value. Or the MusicBrainz album ID, album artist ID and/or the artist ID were bad. When I say "bad," I mean they were all set to the same bogus value, which was something like "usicBrainz" or similar. That would account for why favoriting one would favorite them all. I have had these MP3's for a very, very long time, so I can only assume I used a tool to "fix" their tags some time in the past and that tool added the bad values.
Moving on to now, I wrote a Python script to crawl the folders, get the existing artist and album values, query MusicBrainz, and then put the correct values into the MP3 tags. One thing that is noteworthy is that I could not simply erase the MusicBrainz values. Jellyfin would not override its existing value for a non-existent value, which I suppose makes sense. Therefore I had no choice but to add all the values I listed above to every screwed-up MP3 (i.e. I could not be lazy and take the east way out). I wouldn't want to share what I wrote, but I can provide some tips to any beginners. The TXXX tag frames are not very intuitive. Otherwise the mutagen and musicbrainz Python modules are not too difficult to work with.
Moving on to now, I wrote a Python script to crawl the folders, get the existing artist and album values, query MusicBrainz, and then put the correct values into the MP3 tags. One thing that is noteworthy is that I could not simply erase the MusicBrainz values. Jellyfin would not override its existing value for a non-existent value, which I suppose makes sense. Therefore I had no choice but to add all the values I listed above to every screwed-up MP3 (i.e. I could not be lazy and take the east way out). I wouldn't want to share what I wrote, but I can provide some tips to any beginners. The TXXX tag frames are not very intuitive. Otherwise the mutagen and musicbrainz Python modules are not too difficult to work with.

