Plex TV Series Matching

So just for fun, I started fresh by removing /var/lib/plexmediaserver, rescanned everything in to rule out any DB corruption or anything strange.

Same issue with just those two items so it’s something very specific to those two shows.

@drzoidberg33 - Please let me know if those logs were complete or any other steps I can collect / reproduce / redo again.

That’s bizarre alright. I’ve homeland and don’t see this problem but am using tmdb id for matching and tmdb episodes ordering. I wonder as a test if you tried that would it have any effect? Would be another data point if nothing else.

TMDB for TV misses a few things so you get unmatched items using them. Family Guy and a number of others have different info compared to what you get in Sonarr.

I had these working before as the ‘change’ is me renaming them to the new TVID format in the title and adding the year to the title/episodes.

I can try what you suggested but I do need to wait for my TV items to finish first as it takes some time to add in all my stuff back from scratch.

My goal for from scratch was to rule out any oddities in my setup ruling things out:

  • I either am doing something wrong (Not sure what at this point but always possible)
  • Something is wrong using the format for those two shows / found a bug

My format specifically for shows episodes is:

{Series TitleYear} {tvdb-{TvdbId}}

and

{Series TitleYear} - S{season:00}E{episode:00}

All things mass renamed/reorganized through Sonarr so I feel pretty good the names are consistent.

I haven’t been able to figure out the exact query / request being passed that happens around this:

Plex Media Server.1.log:Jan 21, 2022 18:36:07.478 [0x7fcd611c1b38] WARN - Scanner [Plex TV Series]: unable to find cloud match for item file '/media/TV/Homeland (2011) {tvdb-247897}/Homeland (2011) - S01E01.mkv'

As once it tries to match an episode for specifically those 2 shows, something goes wrong at the episode level even though the top level show / folder does match.

I understand what you are saying. I actually rather use TMDB episode ordering for 99.9% of my TV shows and then specify tvdb ordering for a small number (Firefly DVD order as an example). Anyhow, its a choice which is great.

However, the id is ONLY used in matching. You can use tmdb or tvdb ids for matching and it (should) have no impact on the metadata. The new modern agent/scanner is not like the legacy ones which I’m sure you know. Its a consolidation of multiple sources so do you just get TVDB or TMDB metadata, plex uses logic in the back-end to figure out what it believes is the best metadata and then you control the episode ordering via settings based on how you have named your media.

What I was wondering is if you (just kicks and a test) if you tried Homeland (2011) {tmdb-1407} and set the order to TMDB do you see the same thing ?

Screenshot from 2022-01-22 12-02-47

Yep, I’ll definitely try it (just won’t be soon as I have a number of hours to finish my initial seed/scan).

So changing the Episode ordering to the Movie DB for those 2 does fix the issue further supporting the cached/other data for the TVDB is not working.

I wonder if you change yours to the TVDB and refresh metadata, does it break for you?

I did not change the folder name btw and I only changed the episode ordering as you did above.

So this gives:

image

Matched episodes:

This:

image

Produces the unmatched items so something with the TVDB cached aired data seems off / not matching properly.

Very interesting, I was kinda hoping that would work which confirms its a bug when tvdb ordering is used.

I did change the order on my server and refreshed but it did not break it for me, most likely as I did not want to plex dance the show.

Anyhow, think its over to @drzoidberg33 now and the team to figure out what what is going on.

Yep and short term, I made those changes so I am back to 0 unmatched episodes, which was the whole goal anyway and I have a new advanced option to test if I see things don’t match.

Just odd only those 2 shows out of ~1k.

Much appreciated for the help!

I recently refreshed metadata on most of my shows, including Homeland (I don’t have House of Lies), and while everything else worked perfectly, I have the exact same issue with Homeland. I did not change the name of my files or anything else - just refreshed metadata. Similarly, the Plex dance didn’t solve anything, and the permissions aren’t an issue either - I strongly believe there’s something wrong on Plex’s side of things when it comes to the metadata about Homeland. Changing the episode ordering also solved the issue for me, so it’s exactly the same issue with the exact same show, and everything points to PMS working exactly as intended - just no data on the server side of the agent.

Yeah, it’s on their side. You can use the work around above and that fixes it for that show until they decide to take a look/fix the issue, but that seems to have gone silent so who knows at this point.

Yup, I just did a refresh on Homeland, and everything got unmatched at the episode level. Changing episode ordering to TMDB fixed it, but this is not desired on my end. I prefer to match everything against TVDB.

House of Lies, same thing. Something must have happened within the last two weeks or so, because I ran a full library refresh around that time, and those shows matched just fine with TVDB set as default.

The big problem for us old-timers is that switching our (TV) libraries over to TMDB would mess up a ton of episodes, specials in particular. My naming and ordering has always been according to TVDB (since 2013).

I just took a look at Homeland. It looks like at some point TVDB was failing with the request for that show but for some reason our cache hasn’t updated yet. It could be something on TVDB’s side or on our side, I’ve asked somebody to take a look.

1 Like

Thanks!

It’s the same for House of Lies as well as it has the same issue.

I did check TVDB and both are right for both shows as Sonarr is updated and I validated by checking the TVDB.

I’d assume this fixed the issue as I removed the work around after this update and both shows match as they did not before:

(Metadata) In rare instances some tv seasons could match to the incorrect episode ordering (#13312)

That was the latest plex pass release earlier…

No, there was bad data in our cache from where a request to the TVDB api failed. The data was refreshed and is populated in our cache properly again.

1 Like

Thanks for the clarification. Marking it as solved.

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