Track Numbers Have Become Blank so track order in an album is wrong (alphabetical now)

Server Version#:
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

Hi

So something has happened recently for me (not sure when or what caused it)

For the vast majority of my albums, the track numbers for each album have gone blank, resulting tracks being now sorted alphabetically by track name starting at 0

The track number is correct for each track in each album in the actual data file, so I tried a scan of the media folders but it made no difference in Plex.

ANyone else had this?

Anyone know if there is such a things as a “depp and forced” scan that overwites whats in Plex DB?

I am tempted to delete the whole library and recreate it but I have nearly 20,000 tracks in it, have made many customisations and notes in the DB and dont really want to lose them

Any help gratefully appreciated

Thanks for taking the time to look

What is your server version?

Hi

I am running Windows Server Version 1.40.2.8395 of Plex

Thanks

Do you have “prefer local metadata” enabled or disabled?

Have you tried to “refresh metadata” of the affected album?

Hi Otto

Prefer local metadata is enabled
Refresh metadata made no difference

Thanks

Please show the embedded meta tags of that album.
Similar to this:

Do you have particularly large collections created in your music library?

Hi Otto

3 screen shots

(1) an album where the track numbers seem to have been replaced by an alphabetical sort with track numbers then being appled starting at track 0
(2) The same album but in a playlist (of other albums by the same band). The title of each track seems to have disappeared
(3) The MP3 metadata tags for the ablum

This is all a bit odd. I have no idea what can have happened to the Plex DB but it seems a little messed up

Thanks for the help

That looks like a Frankenstein album. All except track 10 are mp4.

Why are there two album titles in the tags?

Something odd here.

MP3Tag shows them as mp4, but they are not. They are m4a

I’ll see if I can see why MP3Tag is showing incorrect information

Strange

So heres another album

In the album view in Plex it has done the alphabetic sort, including track 0, then when added to the playlist it adds them to the playlist in the actual album order, and MP3 tag shows them in track order

m4a files are mp4. The only difference is that m4a files don’t have a video stream in them.

Once again, the content of the “album title” tag has 2 items in it. The artist name doesn’t belong in there.

You might want to update the id3 tag version to ID3v2.3 or ID3v2.4

Hi @OttoKerner we now have FULL support for ID3v2.4?

I don’t know what you mean by “full support”.
At least the scanner should no longer crash when it happens upon such a tag: Plex Media Server - #611 by drzoidberg33

1 Like

Hi Otto

Thanks

the naming conventions and metadata are there becuase before plex I had a very crude web/file browser interface that helped me and my family navigate the structure of the music. whilst that might be against the intended use of the metadata from a Plex perspective, it did (and still does) happily scan in and work with Plex. I am not sure that they have suddenly caused some of my track numbers to change for some albums. I think somewhere along the line the database has corrupted. But thanks for your input. I think its time to start again

Regards

Do you have particularly large collections (dumb or smart) created in your music library?

These have been known to make track or disc numbers vanish.

Hi Otto

I have 1708 albums, just over 14,000 individual tracks.

Regards

I mean Plex collections https://support.plex.tv/articles/201273953-collections/ ,
not the size of your library. :smiley:

Before scrapping everything, it can’t hurt to try and perform an in-depth rebuild of your database – including the “blobs” DB file, which is what this .bat file is doing: GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases

Hi Otto

Thanks for the link to the database rebuilder

I shall give it a try

Best regards

Hi Otto

So whilst CHuck was finding the bug in the plex install code that wrote the registry wrong and is modifying his scripts to ignore it, as a fallback I started to use MP3Tag on the source files and scan them into a new library (but the same installed database so I guess that might be an issue if the whole underlying database is corrupted).

I have noticed that bands that start with the word “The” (e.g. The Beatles, The Eagles") are now sorting the album title ignoring the word “The” even though I have explicitly put "The Eagles, “The Beatles” in the title field and in the MP3 tags.

I remember in the past having had this explained to me why it did this and was told to explicity put “The” at the start of the sort album field.

But now it seems to be ignoring that. Is there something you are aware of that has changed in the later version of PMS for Windows that would do this on purpose? If not I guess the fact its the same installation, even though its a new library, might be the issue. Just wanted to check that whether or not it is now programmed to ignore “The” on a sort (think the same is true for “A xxxxx” as well)

Best regards