Metadata is only recognized irregularly or after several manual attempts

For some time now (I would estimate two to three weeks), metadata recognition has not been working correctly or has only worked occasionally.

If I add 20 new series, he might recognize four or five of them in the first attempt. The others I have to search again by hand. But even here it only works sometimes and after several attempts.
Affected are TVDB as well as TMDB, series and movies.

The series have all been named correctly with the filebot before.

I emptied the trash, optimized the database, cleared packets, cleared the cache directories and tried multiple reboots from the plex as well as from the server itself.
The Plex itself runs as a UnRAID docker (linuxserver version).
IPv6 is disabled in UnRAID network settings. MTU is 1500.

In the appendix the logs and screenshots regarding the agent settings after I added the last series and tried to tag (assign and search) some by hand.

Server Version#: 1.19.4.2935
Player Version#: 4.30.2

Plex Media Server Logs_2020-06-18_16-19-15.zip (3.2 MB)
Agent Settings.zip (3.7 MB)

you need reorder some of agents. top is 1st priority, bottom last etc…
In agents “Filme > Plex Movie” drag Plex movie to top.
In Filme > The Movie Database turn Plex Movie on (tick it) and drag it up under The Movie Database.

In Serien > TheTVDB, at top have TheTVDB 2nd The Movie Database and turn it on.

In all of them have Local Media Assets at the bottom of the list.

And check this is turned off. Settings > Library>Run scanner tasks at a lower priority

Sorry, I only changed the order of agents for testing purposes to this values.

Problems were the same with your settings or order of agents.

Run scanner tasks at a lower priority is disabled.

I just added two new series as a test, Catch-22 was not assigned at all, Disenchantment was assigned, but you couldn’t see any progress, but the series was obviously recognized and correctly tagged in the background.
Catch-22 was assigned manually (although the folder was called Catch-22, the assignment made it Catch 22, which I had to correct manually).

In any case, the assignment takes ages. Where in the past, lots of series were tagged in a short time, now individual series sometimes take several minutes without any noticeable progress.

Logs & Screenshots.zip (4.3 MB)

yes, here too takes some times mb 10-15 mins waiting but they eventually get loaded on my server

Any news on this topic?

Of 10 newly added series at most 2-3 are recognized and correctly tagged, although I have previously named and sorted them correctly with the filebot.

In addition, the process takes up to 15 minutes per series and works without a recognizable pattern either immediately, or when searching manually via TVDB or via manual search via TheMovieDatabase, or after several attempts, or for some series not at all.

This is definitely not a permanent state and there must be a solution.

Logs: Plex Media Server Logs_2020-08-03_01-02-44.zip (8.8 MB)

For reference, test movies, matched under PMS 1.20.0,

[chuck@lizum ~.519]$ ls -la /vie/qa/movies/Catch-22\ \(1970\)/
total 12
drwxr-xr-x  2 chuck chuck 4096 Aug  2 23:22 ./
drwxr-xr-x 36 chuck chuck 4096 Aug  2 23:22 ../
-rw-r--r--  1 chuck chuck  278 Aug  2 23:22 Catch-22 (1970).mkv
[chuck@lizum ~.520]$ 


It was matched and downloaded faster than I could open PMS in the web browser.

Hey, Chuck, I don’t see what kind of reference your post should be. I would be very happy if it would work as fast as you describe.

I don’t seem to be the only one with this kind of problem right now, there are several posts with the same or similar problem and no final solution for months.

I have now provided log files several times, it would be nice if someone would have a look at them, I can’t see any problems I can try to fix at the moment.

Filebot tags my series correctly, Sonarr and Radarr read the files without problems and super fast and name them correctly, only Plex makes problems here despite the right preparation.

Database optimization, packet cleaning, deleting Plug-in Support/Caches and Plug-in Support/Data, allowing local subnet access without authentication, disabled Firewall of Router and so on.

Here an actual log file: Plex Media Server Logs_2020-08-03_11-53-13.zip (7.9 MB)
Plex is version 1.19.5.3112 on UnRAID docker from Linuxserver.io

Same problem here. Running latest version on Synology DS216j. Database reset, complete reinstall - nothing helps. Some of the series or movies are getting the description and airing dates, but for example no posters. All movies and series are named using filebot. And I can confirm, this behaviour appeared few weeks ago.
My logs are attached as well.
Logs.zip (1.4 MB)

Please allow me to share how I have things set up and we’ll go from there?

  1. My Agent prioritization is to let the Plex agents have first crack. (shown below)

  2. I don’t use MP4 files if I can help it. If I do, I make certain to strip out all embedded information (Name & Title). Without embedded information, PMS will be forced to use the file name I have given. This is what I want to happen.

  3. I use (religiously) use FileBot on anything I rip. I do this because if FileBot can successfully lookup the name, renaming it for me if necessary before giving to Plex to scan that first time, then Plex will never have that problem because the name and structure are known perfect.

  4. When 1.20.0 gave us the new movie agent, the very first things I did were:
    a. Upgraded the library to the new Plex Movie agent
    b. Force “Refresh All Metadata” which has the side effect of examining all file names again. If the new agent found a different match, it would supersede the existing (presumably bad) match I had.

Is this how you have your agents set?

Hey Chuck, thanks for the reply.

  1. My agents are set similar way as yours.
  2. MKVs have the same behaviour in my case.
  3. Same.
  4. No 1.20 is available for Synology, maybe for Plex Pass users only yet?
    But this is the way my Movies and Series library look like at the moment:

@airart320

Unfortunately, you’re right. There is no public 1.20.0 available.
1.20.0 does exist for all platforms but is still Plex Pass availability.

This is 1 page of my QA Television library. It has 906 Television programs declared.
This is all matched using the same media agents as you do.

At this point, We only have the new scanner in Movies.
We need wait a bit longer while Engineering completes their work for Television series.

When they do, I will give it my 906 series test library. (here is one page of it)

A question I have for you is: Did any part of this installation come from a Windows system?

Would you please share your agent settings for Shows?

In my post I wrote about problems regardings the TV Shows, for movies I will have to do some extra tests.

All my movies and TV shows are named with Filebot in German Language.

I will give you an example:
“Serien” -> “Baywatch – Die Rettungsschwimmer von Malibu” -> “Staffel 1” -> “Baywatch – Die Rettungsschwimmer von Malibu - S01E01 - Pilotfilm.mkv”

Nearly all the files are mkv, some old stuff is avi.

I named all the movies and shows in German from beginning and this worked for months to years until some weeks ago.

A question I have for you is: Did any part of this installation come from a Windows system?

Nope, all Synology. Actually I have completely reinstalled the Plex Server today and did full library rescan.

My Agent settings for Television are:

I have never had any luck using German for my naming because not all US television programs have German names.

Please do me a favor, as a test.

Create a library section using English names: “Baywatch” and use “Season”.

This title Baywatch – Die Rettungsschwimmer von Malibu - S01E01 - Pilotfilm.mkv
has too many - in it. It absolutely will confuse the scanner.

If you used:
Baywatch Die Rettungsschwimmer von Malibu - S01E01 - Pilotfilm.mkv

you might get a match.

Trimming it down further to the American name

Baywatch - S01E01 - Pilot.mkv

will match

To demonstrate, I created 11 seasons of 24 episodes (Dummy files):

My script creates simplistic file names so I can more easily test with.

[chuck@lizum plex-media-server.507]$ ls -R /vie/qa/tv/Baywatch/
/vie/qa/tv/Baywatch/:
Season 01/  Season 02/  Season 03/  Season 04/  Season 05/  Season 06/  Season 07/  Season 08/  Season 09/  Season 10/  Season 11/

/vie/qa/tv/Baywatch/Season 01:
Baywatch - S01E01.mkv  Baywatch - S01E05.mkv  Baywatch - S01E09.mkv  Baywatch - S01E13.mkv  Baywatch - S01E17.mkv  Baywatch - S01E21.mkv
Baywatch - S01E02.mkv  Baywatch - S01E06.mkv  Baywatch - S01E10.mkv  Baywatch - S01E14.mkv  Baywatch - S01E18.mkv  Baywatch - S01E22.mkv
Baywatch - S01E03.mkv  Baywatch - S01E07.mkv  Baywatch - S01E11.mkv  Baywatch - S01E15.mkv  Baywatch - S01E19.mkv  Baywatch - S01E23.mkv
Baywatch - S01E04.mkv  Baywatch - S01E08.mkv  Baywatch - S01E12.mkv  Baywatch - S01E16.mkv  Baywatch - S01E20.mkv  Baywatch - S01E24.mkv

/vie/qa/tv/Baywatch/Season 02:
Baywatch - S02E01.mkv  Baywatch - S02E05.mkv  Baywatch - S02E09.mkv  Baywatch - S02E13.mkv  Baywatch - S02E17.mkv  Baywatch - S02E21.mkv
Baywatch - S02E02.mkv  Baywatch - S02E06.mkv  Baywatch - S02E10.mkv  Baywatch - S02E14.mkv  Baywatch - S02E18.mkv  Baywatch - S02E22.mkv
Baywatch - S02E03.mkv  Baywatch - S02E07.mkv  Baywatch - S02E11.mkv  Baywatch - S02E15.mkv  Baywatch - S02E19.mkv  Baywatch - S02E23.mkv
Baywatch - S02E04.mkv  Baywatch - S02E08.mkv  Baywatch - S02E12.mkv  Baywatch - S02E16.mkv  Baywatch - S02E20.mkv  Baywatch - S02E24.mkv

/vie/qa/tv/Baywatch/Season 03:
Baywatch - S03E01.mkv  Baywatch - S03E05.mkv  Baywatch - S03E09.mkv  Baywatch - S03E13.mkv  Baywatch - S03E17.mkv  Baywatch - S03E21.mkv
Baywatch - S03E02.mkv  Baywatch - S03E06.mkv  Baywatch - S03E10.mkv  Baywatch - S03E14.mkv  Baywatch - S03E18.mkv  Baywatch - S03E22.mkv
Baywatch - S03E03.mkv  Baywatch - S03E07.mkv  Baywatch - S03E11.mkv  Baywatch - S03E15.mkv  Baywatch - S03E19.mkv  Baywatch - S03E23.mkv
Baywatch - S03E04.mkv  Baywatch - S03E08.mkv  Baywatch - S03E12.mkv  Baywatch - S03E16.mkv  Baywatch - S03E20.mkv  Baywatch - S03E24.mkv

/vie/qa/tv/Baywatch/Season 04:
Baywatch - S04E01.mkv  Baywatch - S04E05.mkv  Baywatch - S04E09.mkv  Baywatch - S04E13.mkv  Baywatch - S04E17.mkv  Baywatch - S04E21.mkv
Baywatch - S04E02.mkv  Baywatch - S04E06.mkv  Baywatch - S04E10.mkv  Baywatch - S04E14.mkv  Baywatch - S04E18.mkv  Baywatch - S04E22.mkv
Baywatch - S04E03.mkv  Baywatch - S04E07.mkv  Baywatch - S04E11.mkv  Baywatch - S04E15.mkv  Baywatch - S04E19.mkv  Baywatch - S04E23.mkv
Baywatch - S04E04.mkv  Baywatch - S04E08.mkv  Baywatch - S04E12.mkv  Baywatch - S04E16.mkv  Baywatch - S04E20.mkv  Baywatch - S04E24.mkv

/vie/qa/tv/Baywatch/Season 05:
Baywatch - S05E01.mkv  Baywatch - S05E05.mkv  Baywatch - S05E09.mkv  Baywatch - S05E13.mkv  Baywatch - S05E17.mkv  Baywatch - S05E21.mkv
Baywatch - S05E02.mkv  Baywatch - S05E06.mkv  Baywatch - S05E10.mkv  Baywatch - S05E14.mkv  Baywatch - S05E18.mkv  Baywatch - S05E22.mkv
Baywatch - S05E03.mkv  Baywatch - S05E07.mkv  Baywatch - S05E11.mkv  Baywatch - S05E15.mkv  Baywatch - S05E19.mkv  Baywatch - S05E23.mkv
Baywatch - S05E04.mkv  Baywatch - S05E08.mkv  Baywatch - S05E12.mkv  Baywatch - S05E16.mkv  Baywatch - S05E20.mkv  Baywatch - S05E24.mkv

/vie/qa/tv/Baywatch/Season 06:
Baywatch - S06E01.mkv  Baywatch - S06E05.mkv  Baywatch - S06E09.mkv  Baywatch - S06E13.mkv  Baywatch - S06E17.mkv  Baywatch - S06E21.mkv
Baywatch - S06E02.mkv  Baywatch - S06E06.mkv  Baywatch - S06E10.mkv  Baywatch - S06E14.mkv  Baywatch - S06E18.mkv  Baywatch - S06E22.mkv
Baywatch - S06E03.mkv  Baywatch - S06E07.mkv  Baywatch - S06E11.mkv  Baywatch - S06E15.mkv  Baywatch - S06E19.mkv  Baywatch - S06E23.mkv
Baywatch - S06E04.mkv  Baywatch - S06E08.mkv  Baywatch - S06E12.mkv  Baywatch - S06E16.mkv  Baywatch - S06E20.mkv  Baywatch - S06E24.mkv

/vie/qa/tv/Baywatch/Season 07:
Baywatch - S07E01.mkv  Baywatch - S07E05.mkv  Baywatch - S07E09.mkv  Baywatch - S07E13.mkv  Baywatch - S07E17.mkv  Baywatch - S07E21.mkv
Baywatch - S07E02.mkv  Baywatch - S07E06.mkv  Baywatch - S07E10.mkv  Baywatch - S07E14.mkv  Baywatch - S07E18.mkv  Baywatch - S07E22.mkv
Baywatch - S07E03.mkv  Baywatch - S07E07.mkv  Baywatch - S07E11.mkv  Baywatch - S07E15.mkv  Baywatch - S07E19.mkv  Baywatch - S07E23.mkv
Baywatch - S07E04.mkv  Baywatch - S07E08.mkv  Baywatch - S07E12.mkv  Baywatch - S07E16.mkv  Baywatch - S07E20.mkv  Baywatch - S07E24.mkv

/vie/qa/tv/Baywatch/Season 08:
Baywatch - S08E01.mkv  Baywatch - S08E05.mkv  Baywatch - S08E09.mkv  Baywatch - S08E13.mkv  Baywatch - S08E17.mkv  Baywatch - S08E21.mkv
Baywatch - S08E02.mkv  Baywatch - S08E06.mkv  Baywatch - S08E10.mkv  Baywatch - S08E14.mkv  Baywatch - S08E18.mkv  Baywatch - S08E22.mkv
Baywatch - S08E03.mkv  Baywatch - S08E07.mkv  Baywatch - S08E11.mkv  Baywatch - S08E15.mkv  Baywatch - S08E19.mkv  Baywatch - S08E23.mkv
Baywatch - S08E04.mkv  Baywatch - S08E08.mkv  Baywatch - S08E12.mkv  Baywatch - S08E16.mkv  Baywatch - S08E20.mkv  Baywatch - S08E24.mkv

/vie/qa/tv/Baywatch/Season 09:
Baywatch - S09E01.mkv  Baywatch - S09E05.mkv  Baywatch - S09E09.mkv  Baywatch - S09E13.mkv  Baywatch - S09E17.mkv  Baywatch - S09E21.mkv
Baywatch - S09E02.mkv  Baywatch - S09E06.mkv  Baywatch - S09E10.mkv  Baywatch - S09E14.mkv  Baywatch - S09E18.mkv  Baywatch - S09E22.mkv
Baywatch - S09E03.mkv  Baywatch - S09E07.mkv  Baywatch - S09E11.mkv  Baywatch - S09E15.mkv  Baywatch - S09E19.mkv  Baywatch - S09E23.mkv
Baywatch - S09E04.mkv  Baywatch - S09E08.mkv  Baywatch - S09E12.mkv  Baywatch - S09E16.mkv  Baywatch - S09E20.mkv  Baywatch - S09E24.mkv

/vie/qa/tv/Baywatch/Season 10:
Baywatch - S10E01.mkv  Baywatch - S10E05.mkv  Baywatch - S10E09.mkv  Baywatch - S10E13.mkv  Baywatch - S10E17.mkv  Baywatch - S10E21.mkv
Baywatch - S10E02.mkv  Baywatch - S10E06.mkv  Baywatch - S10E10.mkv  Baywatch - S10E14.mkv  Baywatch - S10E18.mkv  Baywatch - S10E22.mkv
Baywatch - S10E03.mkv  Baywatch - S10E07.mkv  Baywatch - S10E11.mkv  Baywatch - S10E15.mkv  Baywatch - S10E19.mkv  Baywatch - S10E23.mkv
Baywatch - S10E04.mkv  Baywatch - S10E08.mkv  Baywatch - S10E12.mkv  Baywatch - S10E16.mkv  Baywatch - S10E20.mkv  Baywatch - S10E24.mkv

/vie/qa/tv/Baywatch/Season 11:
Baywatch - S11E01.mkv  Baywatch - S11E05.mkv  Baywatch - S11E09.mkv  Baywatch - S11E13.mkv  Baywatch - S11E17.mkv  Baywatch - S11E21.mkv
Baywatch - S11E02.mkv  Baywatch - S11E06.mkv  Baywatch - S11E10.mkv  Baywatch - S11E14.mkv  Baywatch - S11E18.mkv  Baywatch - S11E22.mkv
Baywatch - S11E03.mkv  Baywatch - S11E07.mkv  Baywatch - S11E11.mkv  Baywatch - S11E15.mkv  Baywatch - S11E19.mkv  Baywatch - S11E23.mkv
Baywatch - S11E04.mkv  Baywatch - S11E08.mkv  Baywatch - S11E12.mkv  Baywatch - S11E16.mkv  Baywatch - S11E20.mkv  Baywatch - S11E24.mkv
[chuck@lizum plex-media-server.508]$```

I’m also having this issue for TV Shows. I’m running 1.19.5.3112 on FreeBSD.

Using one example I’ve been poking at: Episodes 1 through 3 matched, but when I added 4 last week it didn’t. I’ve tried refreshing a few times since and it continues not to get metadata, even though the episode is in TVDB. The logged error is WARN - Unable to load episode file ["seasons/1/episodes/4.xml"]. All episodes are in the same folder with the same naming scheme: Show/Season 1/[Release Group] Show - $episode_number [1080p].mkv. Renaming the unmatched file to Show/Season 1/S01E04.mkv doesn’t help, and plex does recognize it as S01E04 either way, it just fails to grab metadata. Happy to do more testing if it would be helpful

Edit: I haven’t had time to actually try hitting the TVDB API directly but it feels kind of like an API problem?

Baywatch was just one example.
I have other series without the hyphens and the scanner didn’t work as well, or it worked on other series.
On the other hand, Baywatch was not recognized at the beginning, but after several attempts it was recognized. It just can’t be reproduced and as I said, it worked for months.

I just don’t see any system currently why the scanner works or doesn’t work. The series are all built in the same way and named as suggested by FileBot. As a next example I tried to assign Magnum PI yesterday. It was shown as assigned, but not named correctly and the metadata was missing. Today several attempts did not work either. I just tried it again, but it worked after about 10 minutes waiting time.

I will try your test later. Should I create a new library for TV shows or just copy and rename some stuff (or use dummy files)?

You only need 1 file named in a fresh English structure.
I would do it this way:

  1. Create “/new/directory/Baywatch/Season 1”
  2. Copy one file there.
  3. Rename it “Baywatch - S01E01 - Some silly title here.mkv”
  4. Now create a new TV library section “ChuckPa TV Test”.

The important point here, which isn’t often realized is that PMS keeps a fingerprint of the file from the first scan. If it failed to match due to bad name on that first scan, the “Plex Dance” is needed to push the media out, erase what PMS knows of it, then pull the media back to where Plex is monitoring for it.

The new scanners address this problem in a big way.

While maybe the scanner is being picky, it does not search for Staffel nor does it look for Besonderheiten oder Specielles . I did check the source code and PMS does not search for multiple language forms. It only uses English (possibly because TheTVDB is English based?)

Localization is uni-directional English -> Your local language IF there translations are available. Not everyting is.

If I may highlight.