How to reproduce bug:
Create folders and files for TV per tvdb naming below:
/TV/V/V S01E01.MKV… Etc.
Then create another TV show per tvdb naming
/TV/V (2009)/S01E01.MKV… Etc.
You must have one of the TV show per matched and analyzed by plex. In this case V (2009) was already matched and analyzed before I newly added V.
Create many other TV shows with similar naming, the only difference is their year air time,which per tvdb naming shows we must put year in bracket in the TV shows name.
Then scan plex.
Bug:
Plex seems to ignore the year in bracket naming when matching TV shows and ends up matching to the wrong ones or combines two or more similarly named TV shows into one. This doesn’t always happen but when you have a lot of TV shows it happens more often.
Case tested for TV shows for example:
V
V (2009)
Pure (2019)
Coroner
The Coroner
Shameless US AND UK version, the office UK and Us version, etc.
TV shows that has the same name for its drama and original Anime version of the two TV shows.
I did. I didn’t write the file name correctly in above post as the problem is not about file naming but rather about the top folder naming of a show.
If you have drama and Anime with the same name of the show, and you follow tvdb naming fit the folder then plex will match it wrongly even when the file name is correct.
I just tested this with:
Pure (2017)
Pure (2019)
Shameless (US)
Shameless (UK)
V
V (2009)
And many Japanese TV drama that has the same name as its original Japanese TV Anime show.
They all caused plex matching to not work properly.
Plex seems to ignore folder naming despite files are name correctly just like the top folder
I’ve seen this happen if you add 2 similarly names shows at once. i.e. Adding V and V (2009) at the same time. However, if you add one at a time, they should match correctly. If not, I’ll need a specific example and the logs from PMS when try try adding that show.
Well I just tested exactly that cases and both show they matched wrongly.
For example I have the office UK and US version and they are always matched into one when I added them as the same time.
Another example with Japanese TV drama already matched and then I add Japanese TV Anime of the same name. And it was matched to completely different TV show!
All tests show plex doesn’t always take into consideration of the year when matching. Or article like the in The Coroner and Coroner TV show.
But that’s the whole point of the problem. It used to work like that that’s why I have been following if that way. But now it doesn’t work like that anymore. Check the score when plex matching same name or similarly name with different year. The score is wonky.
V and V (2009) did not work but V (1983) and V (2009) does.
Matching is based on TheTVDB’s search API, which is the same they use on their website. They made changes several months back with the redesign of their website and their search results sometimes give different results now.
I named then based on tvdb.
I remember the only way to fix this issue was to do manual unmatch, click fix match, wait until it shows results for the wrong year, and then click and edit the name of the TV show and click search and then click the correct TV show.
No it was matched to completely different TV show that somehow has the highest scoring when matching.
The way I solved it is like above.
I add year in the folder and file name when tvdb do it like that.
So for my clarification, should we always add year in the folder and file name for both TV show?
On tvdb they only add year for one of the TV show for which there is duplicate name.
If I have to add both to show with year, which interestingly I did do it this way then it presents different problem when searching especially with android voice search won’t match when TV show has duplicate name but different year and contain year in its naming…
See my note above about the change to TheTVDB and my V example. It’s not necessarily required but their search hasn’t been the same so adding the year to both isn’t a bad idea.
So should I always add year on the folder name for both show?
I think what you stated is part of the problem.
I’m and avid tvdb contributor I added many Japanese TV shows and fixed older TV show on tvdb website.
My guess is that after something is majorly changed like usually the original creator put the wrong year or wrong TV network on tvdb and I fixed it plex matching does not always work.
If I may suggest please create a cache of tvdb database on plex server and have that as higher priority for matching when there’s duplicate naming.
And please change the plex matching scoring algorithm to consider year and English article
I don’t get it. That cache would just change with the changes to the original source, so how would that be any different from using TheTVDB directly? Plus, that DB is huge. I don’t think TheTVDB would want us making a copy on every Plex user’s server.
I don’t know enough to provide solution for plex matching algorithm . I only know enough that the scoring becomes wonky when same or similarly named shows appear
It has to do with TheTVDB’s search. For example, if you search for “V”, it only returns the newer one. This wasn’t always the case before their change. For now, I would recommend adding the year to both/all shows that have a similar name. If there is a show in multiple languages, add “(language)” to the end of the name too.
Is it true that Plex tends to favor folder name over file name for matching the show?
And conversely, file name over folder structure for season/episode?
Any time I’ve ever had issues like this… V, Knight Rider, Lost in Space… I’ve found changing the folder name (by adding the year) solved the issue in all cases. But, what works for me may not work for everyone.
While we are on the subject I would like to suggest plex to retrieve all posters and background images from tvdb regardless of the image specified language.
This present user with choices to choose which poster and background they want regardless of the show and poster language.
Most tvdb contributor doesn’t care about creating duplicate poster just to change language ID of the poster and so plex can’t retrieve any poster when there’s no poster in the language it currently search.
For example for many European and Japanese TV show, they have only posters in one tvdb language ID. these posters are interchangeable and can be used whether you matched them in English, or German or Japanese. But plex won’t retrieve this poster if it doesn’t match the language ID.
SO to be clear when a TV show is matched just retrieve all available posters from all languages. Plex can b default one like current behavior. Plex user can choose later from plex interface. But this solve greatly for most TV show that has only one or two poster in one tvdb language ID
Can’t easily be done. TheTVDB’s api only returns info based on the specific search, which is 1 language. We would have to search for each language separately, and when there is no data, wait for a return of 0 before moving on. This can take a long time to accomplish. And it could be a lot of data. Some don’t like the amount of data already being retrieved.