Media not properly matched despite containing year

Server Version#: 1.16.5.1488
Player Version#: N/A

The last months I encounter a lot of media mismatching on movies and TVShows which got the same name as other (older) movies or TVShows.

Latest example is the movie (Bollywood) Virus, radarr renamed it to directory/filename: “Virus (2019)/Virus (2019) TMV WEBDL-1080p.mkv” and even it contains the year 2019, Plex matches it against the movie “Virus 1999” doing an manual match shows me that the 1999 version got 95 points while the 2019 version got 94 points. Adding the year should make Plex use the correct entry though right?

Same happens with the TVShow “Pandora” from 2019. Sonarr named it “Pandora 2019” and Plex matches it with “Pandora” from 2008. Again manual match show “Pandora” 2008 with 90 points and Pandora (2019) 80 points.

It seems Plex just chooses the one with the highest score without considering the year.

PS: Not sure with Pandora but the movie Virus should not mismatch as the naming is right.

I have verified for movies and reported the issue to Engineering.

I tracked the matching through IMDB and TMDB .

TMDB is returning the movie in chronological order. PMS is incorrectly accepting this as the result.

Cool! Is the same also applicable to tvshows? Besides Pandora, I remember I got the same issues with most of the shows with same names: no Activity and no activity (2017), dark Angel and Dark Angel (2016), the boys (2019) and the boys (1993). Although the boys show up correctly now when checking using fix match.

While I didn’t test the television logic per se, the match logic is the same.

I did mention Television also appears to have the same issue. I did reproduce the problem easily and provided screenshots and logs.

To add to this, it also seems that the “Plex Movie” agent is not working as it should be (or I misread) If i’m correct the agent should combine matches from different sources (iMDB, TMBD etc) When I do a match for “Hoax (2019)” I don’t get the correct movie match, when I select “The Movie database” as my agent, it shows the correct match. Same happens with series but that could just be TVDB being slow adding new stuff.

Any idea when this issue is being fixed? Just checked and rematched a dozen or so movies and series (which are clearly and properly named) not my fondest way of spending time.

Any update? To be honest it’s perplexing that there is no answer on my previous question when this would be fixed.
In addition to the above problem I’m suspecting that the TVDB agent for TVShows also got issues, I’ve got TMDB activated in the TVDB agent, would expect that when a TVShow can’t be matched against TVDB it would check TMDB and see if it can be matched there. This is not the case, example “Darkness: Those who kill” shows up as unmatched, doing a match it shows no entries for TVDB, changing search options to TMDB it shows up and can be matched fine with that. Shouldn’t that work automatic as TMDB is the fallback for the agent?

The Boys (1993) https://www.imdb.com/title/tt0105959/ – No posters on IMDB or TMDB
The Boys (2019) https://www.imdb.com/title/tt1190634/ - poster available

When series names are reused, e.g. “The Flash” and “The Flash (2014)”, Adding the year to the older series avoids the ambiguities from TVDB.

This is how it’s always been and I can’t explain it. Best I can determine is they return the newer series first and since the “The Flash” (2 tokens) is > 60% of “The Flash (2014)” (3 tokens), Plex will match it. The result is they merge. Adding the year (1996) prevents the incorrect match.

This is the nature of lexical expressions. If Plex were stricter, everyone would need perfect naming for all the media and folks would not be happy about that.

For test purposes, I created dummy series to demonstrate my findings:

Screenshot%20from%202019-09-21%2021-56-00

[chuck@lizum tv3.52]$ ls -1R *Angel*/*01
Dark Angel (2000)/Season 01:
Dark Angel (2000) - S01E01.mkv
Dark Angel (2000) - S01E02.mkv
Dark Angel (2000) - S01E03.mkv
Dark Angel (2000) - S01E04.mkv
Dark Angel (2000) - S01E05.mkv
Dark Angel (2000) - S01E06.mkv
Dark Angel (2000) - S01E07.mkv
Dark Angel (2000) - S01E08.mkv
Dark Angel (2000) - S01E09.mkv
Dark Angel (2000) - S01E10.mkv
Dark Angel (2000) - S01E11.mkv
Dark Angel (2000) - S01E12.mkv
Dark Angel (2000) - S01E13.mkv
Dark Angel (2000) - S01E14.mkv
Dark Angel (2000) - S01E15.mkv
Dark Angel (2000) - S01E16.mkv
Dark Angel (2000) - S01E17.mkv
Dark Angel (2000) - S01E18.mkv
Dark Angel (2000) - S01E19.mkv
Dark Angel (2000) - S01E20.mkv

Dark Angel (2016)/Season 01:
Dark Angel (2016) - S01E01.mkv
Dark Angel (2016) - S01E02.mkv
Dark Angel (2016) - S01E03.mkv
Dark Angel (2016) - S01E04.mkv
Dark Angel (2016) - S01E05.mkv
Dark Angel (2016) - S01E06.mkv
Dark Angel (2016) - S01E07.mkv
Dark Angel (2016) - S01E08.mkv
Dark Angel (2016) - S01E09.mkv
Dark Angel (2016) - S01E10.mkv
Dark Angel (2016) - S01E11.mkv
Dark Angel (2016) - S01E12.mkv
Dark Angel (2016) - S01E13.mkv
Dark Angel (2016) - S01E14.mkv
Dark Angel (2016) - S01E15.mkv
Dark Angel (2016) - S01E16.mkv
Dark Angel (2016) - S01E17.mkv
Dark Angel (2016) - S01E18.mkv
Dark Angel (2016) - S01E19.mkv
Dark Angel (2016) - S01E20.mkv
[chuck@lizum tv3.53]$ 
[chuck@lizum tv3.51]$ ls -1R *Boys*/*01
The Boys (1993)/Season 01:
The Boys (1993) - S01E01.mkv
The Boys (1993) - S01E02.mkv
The Boys (1993) - S01E03.mkv
The Boys (1993) - S01E04.mkv
The Boys (1993) - S01E05.mkv
The Boys (1993) - S01E06.mkv
The Boys (1993) - S01E07.mkv
The Boys (1993) - S01E08.mkv
The Boys (1993) - S01E09.mkv
The Boys (1993) - S01E10.mkv
The Boys (1993) - S01E11.mkv
The Boys (1993) - S01E12.mkv
The Boys (1993) - S01E13.mkv
The Boys (1993) - S01E14.mkv
The Boys (1993) - S01E15.mkv
The Boys (1993) - S01E16.mkv
The Boys (1993) - S01E17.mkv
The Boys (1993) - S01E18.mkv
The Boys (1993) - S01E19.mkv
The Boys (1993) - S01E20.mkv

The Boys (2019)/Season 01:
The Boys (2019) - S01E01.mkv
The Boys (2019) - S01E02.mkv
The Boys (2019) - S01E03.mkv
The Boys (2019) - S01E04.mkv
The Boys (2019) - S01E05.mkv
The Boys (2019) - S01E06.mkv
The Boys (2019) - S01E07.mkv
The Boys (2019) - S01E08.mkv
The Boys (2019) - S01E09.mkv
The Boys (2019) - S01E10.mkv
The Boys (2019) - S01E11.mkv
The Boys (2019) - S01E12.mkv
The Boys (2019) - S01E13.mkv
The Boys (2019) - S01E14.mkv
The Boys (2019) - S01E15.mkv
The Boys (2019) - S01E16.mkv
The Boys (2019) - S01E17.mkv
The Boys (2019) - S01E18.mkv
The Boys (2019) - S01E19.mkv
The Boys (2019) - S01E20.mkv
[chuck@lizum tv3.52]$ 

Agent settings:

Screenshot%20from%202019-09-21%2022-06-23

Ok, clear. I checked “The Boys (2019)” and sonarr v3 named the directory “The Boys” and the media files “The Boys 2019” does the directory get priority in Plex over the filenames? Will adding the year to every directory name fix that issue?

The names, with starting year in parenthesis, is proper formatting.

The Boys 2019 isn’t correct. The Boys (2019) is correct.

PMS is looking for the string [A-Za-z\ ]* and if year is specified, it is of the form ([0-9]{4}) (4 digtits within the parenthesis.

What I find with Sonarr is sometimes when I manually add the year, it will supply the year as well which results in a double year listing.

If you’re using sonarr, I will try it now to see what I get.

Yeah I’ve checked and seems in my change from sonarr v2 to v3 the {Series TitleYear} behaves differently (than I remember) and strips teh parenthesis. I’ll check the forum of sonarr for that.

Original post still stands though, found one today; “The Capture” was matched to “Capture” no year involved in this one and doing an fix match shows “The Capture” as the top entry with most points.
I’ve seen the list of fixes in the coming 1.18 update, is this also addressed in that one?

So when is this issue going to be resolved? We passed multiple Plex server versions which introduced their own issues again but this is STILL not fixed. Last example, Watchmen; contains the year but still matches to the older version. This is getting Apple like; ignore all issues until we can’t. It’s going from a minor annoyance to a pretty big bug for me pretty fast.

1 Like

It’s becoming more common for sure, having to manually enter the details and images.

With respect, Names set with FileBot , using Name (year)/Name (year).ext have not had any problem matching.

May I have some discrete examples of those which fail ?

I’ve already gave you the info in the starter post, you verified it and send it off to engineering. I still got the same issue with TVShows.
Latest example is watchmen but without knowing if this issues is fixed or not i’m not sure what the problem is. Is it the naming? TVDB agent? TVDB or sonarr?

As example: watchmen, sonarr named it /watchmen/Season 01/Watchmen (2019) - S01E01 - …mkv
According to sonarr it’s only needed to add the year when there are more versions of the same show / movie. Plex TVDB matched this to “Watchmen: motion comic” as this was the one with the highest score. TMDB agent matches it correctly.

I am always looking for more examples. The more I can give them, the easier it will be to see if there is a pattern.

so far, they’ve not gotten to the root cause.

You yourself verified the issue for movies, send it off to engineering and they can’t reproduce it? Or is that in regard of the tvshows?

You asked above if the year needs to be present in the directory name. My experience is that yes, including the year (in parenthesis) in the directory name helps PMS disambiguate the choices when multiple potential matches are available. A specific example in my collection is Battlestar Galactica (2014 vs. 1976). Since moving to the convention below, I’ve not had any matching issues:

/Media/TV/Show Name (year)/Season xx/Show Name (year) - sXXeYY - episode title.ext

You could try this with a single problematic series and see if it helps. If it does, and bulk renaming help is needed, Filebot could be helpful.

I’m well aware of that, i’m using sonarr to rename all and also do the show directory. According to them it’s only needed in cases like youre example. The problem in my first post is that even when the year is present Plex just takes the tvdb entry that is highest. I just want to know if the issue which was reported and verified is fixed. After that I got one less variable to worry about.