Wrong Metadata for new shows

The TVDB ID overrides the show name when matching. It comes in handy when matching troublesome TV shows, but you shouldn’t have to use it all the time (FYI, you can add the IMDB id to movies, see the Your Media docs).

Would you pull your server logs and attach to the thread?

I want to make sure the database is not corrupted.

Or if you want to look, pull the logs, unzip the file, and look in Plex Media Server.[x].log. It is pretty easy to spot. You’ll see entries such as Oct 20, 2019 10:25:27.222 [0x7fdc47447700] ERROR - SQLITE3:(nil), 11, database corruption at line 64757 of [bf8c1b2b7a].

Warning messages are usually not a problem. Error messages are the ones to be concerned about.

It seems like I have like 6 Plex Media Server logs. I don’t know which one to look though.

Plex Media Server Logs_2021-08-19_12-29-40.zip (4.3 MB)

Thanks for the files. There are no database errors. Everything looked quite normal.

The log files roll over. Plex Media Server.log has the most recent info. Plex Media Server.5.log has the oldest.

I’m stumped. File naming is correct. Library settings are correct. Database is in good shape. It should work.

You can force things using the TVDB/TMDB ids. That works. But you shouldn’t have to do that.

I’m going to have to think about this one for a bit.

Maybe someone else will have some ideas as well.

Thanks for trying. It’s been stumping me too. At least now I know about using the TVDB ids.

If it’s a rolling log, could the database error be older and not displayed? The problem first started a few months ago.

The database corruption would still show in the log files. There are degrees of corruption. If minor, your system will still run, but sometimes act weird. If major, Plex Media Server won’t run at all. Your system had none.

I found the problem. It is the dash in the season folder.

I created a test library on one of my servers. Using your naming, I added two shows, American Horror Stories and Everybody Loves Raymond. Both matched to Angry Birds Toons.

Aug 19, 2021 12:29:48.978 [0x30382d48] DEBUG - Scanner [Plex TV Series]: found cloud match for file '/volume1/media/tv shows/American Horror Stories/Season - 01/s01e01.mkv': 'Angry Birds Toons'

Aug 19, 2021 12:29:49.228 [0x30429d48] DEBUG - Scanner [Plex TV Series]: found cloud match for file '/volume1/media/tv shows/Everybody Loves Raymond/Season - 01/s01e01 - Pilot.m4v': 'Angry Birds Toons'

If I add the shows without the dash, then Plex matches things correctly.

It appears you need to rename all the season folder names for all your TV shows.

You should also add the show name to the beginning of the file name, before the sXXeYY part.

For example, use American Horror Stories - s01e01.ext not just s01e01.ext.

I don’t think you’ll need to Plex Dance every show. Just rename the folders and files, then manually scan the folders and files if Plex does not do so automatically.

Once all the files are renamed, then perform an empty trash / clean bundles / optimize the database.

Hmm, this looks like a bug with our cloud matcher. Should be relatively easy to fix, I’ll file this.

Thank you for being able to recreate the issue. In the process of re-scanning my library. I have deleted and re added some of the folders that were giving issues. I got my fingers crossed that you solved it.

So everything finally went through on the scanning. The shows I added to rest went to the right show. Thank you. Sonarr is now set up to not add the “-“ before season number.

I haven’t went to edit my TV shows library at the top level in a long time. I just read a post above that stated to ensure that Plex TV series selected. On mine, the TVDB is selected. I’ve never changed it since I set Plex up a LOOONG time ago. What is Plex TV series? Sorry, I don’t stay in the loop much since I don’t have many problems. Periodically I will browse the forum.

It’s the new metadata agent for tv shows. Written in C, so it’s much much faster than the old Python agents. And it enables you to have local tv show extras.

It can also fetch hints for proper matching from the folder names.
ShowName (2020) {tvdb-123456}

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.