Bug with matching a specific series

Server Version#: 1.32.5.7349
Player Version#: web via app.plex.tv

I am trying to manually match a folder/series that didn’t match properly automatically with the new (to me) Plex TV Series scanner and Plex Series scanner.

If I navigate into the unmatched series and click (…) → Match, I get the “Fix Match” window, where I am shown guesses that it thinks the series is. None of these match, so I return to the “Search Options” tab and enter the series name manually and click “Search”, only to still be shown no matching item.

The issue appears to be that two items are linked together somehow, and it isn’t correct.

Using the instructions on this help page (https://support.plex.tv/articles/migrating-a-tv-library-to-use-the-new-plex-tv-series-agent-scanner/) I attempted to search specifically for the series on the tvdb and use the code “tvdb-” to find the series exactly, but I am getting the wrong item.

To be specific:

The series I have is Kamen Rider Ex-Aid: 仮面ライダーエグゼイド - TheTVDB.com (with ID 410987, which is a single season of the long-running Japanese show “Kamen Rider”, which has it’s own separate series page)
The thing that plex thinks it is is: Kamen Rider Ex-Aid [Tricks] - Virtual Operations (TV Series 2016-2016) — The Movie Database (TMDB) (which is a series of specials about that season of Kamen Rider).

The reason I think this is a bug is that if I put the code “tvdb-410987” in the search, it pulls up the banner and description for the second item, straight from themoviedb. If I put in “tmdb-197961”, it acts the same. I have not found any way to get the item from thetvdb to come up.

Several other “seasons” of Kamen Rider match correctly, so I don’t believe it’s an issue with the tvdb’s mapping.

I think I know what is happening as I encountered the same issue today but I took it a couple steps further and fixed the issue:

Mine it did the same thing - once I fixed the match on an item the poster was still from the wrong show but the name and discription were right. So I decided I’d try and add my own poster which produced a generic error - tried multiple times and both local upload and url processes…

So I checked the logs and Plex generated an error saying it couldn’t create a folder in the Metadata bundle for the item. Looking in the Metadata folder on the server I found the specific metadata bundle folder listed in the log did not exist. I created the specific bundle folder listed in the log and knowing the new folder created would’t have proper permission for the plex:plex user I applied permission to the whole Metadata folder (just in case) and all its contents using - chown plex:plex “/usr/local/plexdata/Plex Media Server/Metadata”

Once the above was completed I refreshed Metadata in the Plex GUI and the item then displayed the proper pics and info :slight_smile:

I also believe this is a bug in which the metadata bundle folder is not being created during the Fix Match process. Here are a couple of the log entries showing the missing bundle folder that I needed to create:

[Req#515177] Calculated media file path for path [upload://]: [“/usr/local/plexdata/Plex Media Server/Metadata/Movies/b/5bdea89a0a4d01d77faa668ec3748d4a291c449.bundle/Uploads”]

[Req#515177] Error creating directory “/usr/local/plexdata/Plex Media Server/Metadata/Movies/b/5bdea89a0a4d01d77faa668ec3748d4a291c449.bundle/Contents/_combined/posters”: Permission denied

My Server info:
Server version 1.32.5.7349 on FreeBDS 13.2 (TrueNAS jail)

Hope this helps
Andrew G.

I’ll take a look at the metadata issue, but your resolution seems to start with “once I fixed the match”, and I am currently not up to that point. Using the “Fix Match” screen, I can’t select the correct season.

I can manually put in the series name, but it isn’t a “Match” in the Plex sense, as far as I can tell. If I set the name, I still get a “Fix Match” option in the drop down.

Yeah, I took a look through the logs and I don’t see any “error creating directory” or anything like that.

Sep 05, 2023 22:55:41.660 [140238826031928] DEBUG - Request: [192.168.1.109:55346 (Subnet)] GET /library/metadata/4512/matches?manual=1&title=tvdb-410987&agent=tv.plex.agents.series&year=&language=en-US (3 live) #549 TLS GZIP Signed-in Token (delmain) (Firefox)
Sep 05, 2023 22:55:41.745 [140238826031928] DEBUG - [Req#549/MetadataAgent/tv.plex.agents.series] Found 1 provider matches for 'tvdb-410987'.
Sep 05, 2023 22:55:41.745 [140238826031928] DEBUG - [Req#549] MetadataAgent: Found a search result 'Kamen Rider Ex-Aid [Tricks] - Virtual Operations'
Sep 05, 2023 22:55:41.745 [140238858693432] DEBUG - Completed: [192.168.1.109:55346] 200 GET /library/metadata/4512/matches?manual=1&title=tvdb-410987&agent=tv.plex.agents.series&year=&language=en-US (3 live) #549 TLS GZIP 85ms 1064 bytes (pipelined: 34)
Sep 05, 2023 22:56:34.417 [140238826031928] DEBUG - Request: [192.168.1.109:55420 (Subnet)] GET /library/metadata/4512/matches?manual=1&title=tmdb-197961&agent=tv.plex.agents.series&year=&language=en-US (3 live) #1af TLS GZIP Signed-in Token (delmain) (Firefox)
Sep 05, 2023 22:56:34.522 [140238826031928] DEBUG - [Req#1af/MetadataAgent/tv.plex.agents.series] Found 1 provider matches for 'tmdb-197961'.
Sep 05, 2023 22:56:34.522 [140238826031928] DEBUG - [Req#1af] MetadataAgent: Found a search result 'Kamen Rider Ex-Aid [Tricks] - Virtual Operations'
Sep 05, 2023 22:56:34.523 [140238858693432] DEBUG - Completed: [192.168.1.109:55420] 200 GET /library/metadata/4512/matches?manual=1&title=tmdb-197961&agent=tv.plex.agents.series&year=&language=en-US (3 live) #1af TLS GZIP 105ms 1064 bytes (pipelined: 1)
Sep 05, 2023 22:56:41.110 [140238826031928] DEBUG - Request: [192.168.1.109:55420 (Subnet)] GET /library/metadata/4512/matches?manual=1&title=tvdb-410987&agent=tv.plex.agents.series&year=&language=en-US (3 live) #54d TLS GZIP Signed-in Token (delmain) (Firefox)
Sep 05, 2023 22:56:41.205 [140238826031928] DEBUG - [Req#54d/MetadataAgent/tv.plex.agents.series] Found 1 provider matches for 'tvdb-410987'.
Sep 05, 2023 22:56:41.205 [140238826031928] DEBUG - [Req#54d] MetadataAgent: Found a search result 'Kamen Rider Ex-Aid [Tricks] - Virtual Operations'
Sep 05, 2023 22:56:41.206 [140238858693432] DEBUG - Completed: [192.168.1.109:55420] 200 GET /library/metadata/4512/matches?manual=1&title=tvdb-410987&agent=tv.plex.agents.series&year=&language=en-US (3 live) #54d TLS GZIP 95ms 1064 bytes (pipelined: 2)

I see this though, which is exactly what I was seeing. It’s calling /matches with title set to the codes, and the API is returning the wrong value for tvdb-410987

I think Plex is getting some base infro from thetvdb to match ‘tvdb-410987’ from your search but then is obtaining the data from themoviedb which pulls the best info it can find. You must have your agent for the library set to themoviedb… To tell Plex which Agent yo use for that specific library → select the Advanced tab in the properties window for the Library and you can select the Agent and scanner used to obtain matches. Not sure how you setup your libraries but it is best to keep TV and movies seperate so you can select the best agent for each.

You still may run into the issue I had once you pick what is the proper match… Cross your fingers you dont.

This is using the new Plex scanner that is theoretically supposed to handle both. That’s one of it’s defining features in the recent advertising.

But also, the agent isn’t set to tmdb explicitly, and in fact it’s set to the “Plex TV Series” scanner, but is preferring a movie item over a TV item.

It just doesn’t make any sense.

But yeah, I really hope I don’t have that metadata issue because that looks awful to try to manually fix.

You must make a selection of “Episode Sorting”. Don’t let it sit at “library default” if your files require a certain sorting order.

I was not sure how selecting “oldest first” or “newest first” would cause the issue I was reporting (not being able to select the correct tvdb item in a match context), but I went ahead and tried it.

I selected an episode sorting order, but there is no change in the reported behavior. I still can not find the correct item in the Match window.

I’m sorry, I was confusing “Episode Sorting” with “Episode Ordering”. The latter requires a selection.

After doing this, Refresh Metadata of the whole show.

Ah, okay, yeah, it already had TheTVDB selected, which is what I want (the series I’m trying to match is listed on the TheTVDB, not The Movie Database.

I’ll try Refreshing Metadata on the show again, but I’ve done that a couple times so I don’t expect it to work. Will report back.

That still didn’t fix the issue.

Does anyone know if there’s a Match cache somewhere or something? Maybe I can manually delete some file that stores agent search results and force Plex to try to go out to the DBs again?

The root of the problem still seems to be that searching for “tvdb-410987” is returning the results for “tmdb-197961”

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