Server Version#: 1.27.2.5929
Player Version#: 1.49.1.3146-73559c78
Plex is running on a Synology NAS
Some of my albums are ignoring some of their metadata. Affected albums appear to be random, old and new ones. The metadata fields for Album Artists, Album, and Title are read correctly. When viewing their info the Track field remains blank and while Disc states 1 correctly on one disc albums on affected albums with multiple disc all tracks state they are from disc 1. This leaves the tracks to be ordered alphabetically with track numbers starting from number 0 then 1, 2… etc.
I have tried:
Refreshing Metadata for the album
Removing the files from the their folder and scanning Library Files and then re-adding the files back
Refreshing Metadata for the library
Made sure “Prefer local metadata” is ticked
Creating second Music library and adding some albums to it, (these where affected as well)
Removing files then Scanning Library Files then Empty Trash then adding the files again
All tracks have their track metadata and disc metadata with the format (Track Number/Total Tracks on Disc) and (Disc Number/Total Disc). The files are organized with folders in Album Artist / Album / Track files. Track files are named “(Disc Number) - (Track Number) - Track Title”. All affected tracks are either mp3 or flac format. Music player MusicBee does read all metadata correctly.
Programs used:
Mp3Tag v3.16 for metadata adding and editing
MusicBrainz Picard 2.8.2 for metadata adding and editing
foobar2000 v1.6.11 for optimizing file layout and minimizing file size
I must be fortunate. Most of my music has the “1/15” and “1/2” for track and disc tags and I don’t think Plex has ever stumbled getting it right.
Could you take a screenshot of MP3tag showing the tags for an album that is having this problem? Be sure to show disc number, track number, album title, album artist, track artist. Filename might be good, too, if it will fit on screen. Just to get more eyes on it, something might stand out.
There was a space in the Disc and Track fields. So instead of reading (1/15) it read ( 1/15). The space was being introduced by the Picard scripts for adding the Disc and Track fields. I don’t know when it started to do this. I’m pretty sure Picard was not doing this before with these scripts.
The original script was: $set(tracknumber, $get(tracknumber)/$get(totaltracks))
The new one is: $set(tracknumber,$get(tracknumber)/$get(totaltracks))
Same for Disc script.
After deleting the space a Metadata refresh fixes the album.
So Plex can’t handle spaces at the beginning of tag fields.
I’ll leave that up to @OttoKerner , but, personally, I wouldn’t.
I’m not sure whether the metadata standards consider leading spaces allowable or not, or if they have meaning. If they’re not allowed, it technically wouldn’t be a Plex bug, and if they have meaning, applications shouldn’t ignore it.
At any rate, it would probably be faster to go through your music and trim leading spaces from tags. I understand MP3Tag has that capability, though I haven’t tried it.