TV Series name matching research

The purpose of this thread is very simple; To consolidate information for the dev team showing them different use cases & incidents in order to give them additional information by which to move forward and ultimately improve matching (which can be a lot of guesswork as it is).

We are to collect specific examples of where PMS / TVDB and PMS / Movie naming rules don’t track with reality. Exotic examples are not required.

Given name / structure , showing one episode as example, linking to what it should be as well as it is desired.

Please provide:

  1. Actual names used, including structure. Do not flood with a season full of names. Be certain to properly “Plex Dance” before adding.
  2. The series which should have been matched (IMDB / TVDB listing ref)
  3. The actual series matched. (IMDB / TVDB listing ref)
  4. [optional] extracted 3-5 linues from the log file where scoring is returned as this is the basis for the incorrect match.

As a template for TV to use,

Taboo/
  Season 1/
    Taboo.S01E01.mkv

Should be matched as: http://thetvdb.com/?tab=series&id=71985&lid=7 (Nat Geo 2003 series)
Is matched as: http://thetvdb.com/?tab=series&id=292157 (2017 series)

For movies, please provide the companion IMDB reference links.

Please be concise and on remain on-topic.

you already have this one I know, but just to add to the list

The Flash/
Season 01
The Flash S01E01.mp4
Should be matched as http://thetvdb.com/?tab=series&id=78650&lid=7 (1990 series)
Matched as http://thetvdb.com/?tab=series&id=279121&lid=7 (2014 series)

Can’t provide any log snippets, corrected several days ago by adding “(1990)” to the folder title

Yes, and thanks. Let’s see what else we can find.

Movies\Cherry 2000 (1987)\Cherry 2000 (1987).mp4 (no internal metadata)

Should be matched as: Cherry 2000 (1987) - IMDb (Cherry 2000 (1987))
Is matched as: Cherry (1999) - IMDb (Cherry (1999))

IMDB.log

INFO (logkit:16) - Adding title_year match: Cherry 2000 (1987) score=84, key=tt0092746
INFO (logkit:16) - MetadataSearchResult(lang='en', thumb=None, score=94, year=2000, id=u'tt0175526', name=u'Cherry Falls')
INFO (logkit:16) - MetadataSearchResult(lang='en', thumb=None, score=88, year=2000, id=u'tt0363576', name=u'Don Cherry 12')
INFO (logkit:16) - MetadataSearchResult(lang='en', thumb='https://image.tmdb.org/t/p/w780/gcaDxSp5ssmawAJU03n24b29R6F.jpg', **score=96, year=1999, id='tt0139112**', name='Cherry')
INFO (logkit:16) - MetadataSearchResult(lang='en', thumb='https://image.tmdb.org/t/p/w780/qeMIDY6pwulAi9yZJeXVhK6ZJH9.jpg', score=86, year=2011, id='tt1315350', name='Cherry')
INFO (logkit:16) - MetadataSearchResult(lang='en', thumb='https://image.tmdb.org/t/p/w780/fPN064JvljgD7P7GUjPnJjWPipo.jpg', score=85, year=2011, id='tt1404632', name='Cherry.')
INFO (logkit:16) - MetadataSearchResult(lang='en', thumb='https://image.tmdb.org/t/p/w780/8m4cU75IzvsQQ7QovMm3k0VCkoJ.jpg', score=82, year=2012, id='tt1945062', name='About Cherry')

Ran into this one over the weekend while redoing some stuff. I actually have both series and they both got merged into “The Tick (2016)” of which there is only 1 episode. I didn’t bother renaming assuming it was a fluke, so I split and matched and went on my way

TV\The Tick\Season 01\The Tick - s01e01.mkv
Should be matched as: http://thetvdb.com/?tab=series&id=317654&lid=7 (The Tick)
Is matched as: http://thetvdb.com/?tab=series&id=317654&lid=7 (The Tick (2016))

Set up a test library and added a few “re-makes” to see what happens… I will add each mis-match as a separate post so they are easily visible.
Conviction
Test\Conviction\Season 01\Conviction S01E01.mp4
should be: http://thetvdb.com/?tab=series&id=75075&lid=7 (Conviction from 2006)
matches as: http://thetvdb.com/?tab=series&id=311878&lid=7 (Conviction (2016))

MacGyver

Test\MacGyver\Season 01\MacGyver S01E01.mp4
should be: http://thetvdb.com/?tab=series&id=77847&lid=7 (MacGyver from 1985)
matches as http://thetvdb.com/?tab=series&id=311902&lid=7 (MacGyver (2016)

EDIT: As a bonus weirdness, I have the original series in my main TV library as:
TV\MacGyver\Season 01\MacGyver S01E01.mp4
and it matches correctly with the original version. Afraid to do a refresh in case it screws up things. That series was added quite some time ago

The Odd Couple

Test\The Odd Couple\Season 01\The Odd Couple S01E01.mp4
should be: http://thetvdb.com/?tab=series&id=70591&lid=7 (The Odd Couple from 1970)
matches as: http://thetvdb.com/?tab=series&id=281700&lid=7 (The Odd Couple (2015))

Roots

Test\Roots\Season 01\Roots S01E01.mp4
should be as: http://thetvdb.com/?tab=series&id=80280&lid=7 (Roots from 1977)
matches as: http://thetvdb.com/?tab=series&id=307474&lid=7 (Roots (2016))

@ChuckPa - logs as requested. I suspected you would ask and zipped them up right away :smiley:

Respectfully, since you know how I work, save us both the time and effort by posting the logs with the initial inquiry / problem statement? :smiley:

PS: I think you meant these for the other thread. just sayin’

My bad - I assumed you would want the logs for this thread, series matching, since that is how I found the TV trailer bonus, and was just trying to keep it all together in one place.

Perhaps I’m in error. Are those logs for the Extras? or this?

I’d like to keep this focused to the one issue… “Naming & Matching”.

I’ve addressed the Extras issue in your thread… We we continue that part of that discussion there.

Update for all.

We’ve been investigating. Learned a few things nobody expected. Continuing to dig, explore, and experiment. We hope to have this formalized properly and written up tomorrow / friday at the latest for the dev team to look at.

It messes up because it looks at folder name instead of file name… Pisses me off. Will the Plex Devs fix this? Information about the video is on the video name, not in the folder name…

@metrize said:
It messes up because it looks at folder name instead of file name… Pisses me off. Will the Plex Devs fix this? Information about the video is on the video name, not in the folder name…

Kindly provide an example. I will replicate.

If you can provide logs showing this, I will include them

I have been having an issue for the last three weeks where whenever I import a television season, Plex will skip episode 10 completely. It’s not that it misidentifies the episode, it simply doesn’t appear at all. Last night, it also started doing the same with episode 11’s as well. I have tried the recommended naming convention as well as a couple of different variations, and nothing works. And yes, I have done the “Plex Dance” SEVERAL times.

Here is how the files are named:

“\ds1512\video\Television\Star Wars The Clone Wars\Season 1\Star Wars The Clone Wars - S01E10 - Lair of Grievouos.mp4”

All videos are in .mp4 format, and in all instances, every other episode is appearing correctly EXCEPT episode 10. (and now 11 in the last three I’ve tried.)

I have over 4,000 files and have not had this issue until the last month, something has changed and I’m not sure what.

Here is a list of the episodes that have been skipped:
Star Wars The Clone Wars
(S01E10) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=35739&id=403521&lid=7
(S02E10) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=52381&id=1412531&lid=7
(S03E10) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=249271&id=3040691&lid=7
(S04E10) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=472097&id=4153393&lid=7
(S04E11) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=472097&id=4153394&lid=7
(S05E10) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=498845&id=4403103&lid=7
(S05E11) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=498845&id=4403104&lid=7
(S06E10) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=574144&id=4776594&lid=7
(S06E11) https://thetvdb.com/?tab=episode&seriesid=83268&seasonid=574144&id=4776595&lid=7

Star Wars Rebels
(S01E10) https://thetvdb.com/?tab=episode&seriesid=283468&seasonid=590285&id=5025351&lid=7

The Last Ship
(S02E10) https://thetvdb.com/?tab=episode&seriesid=269533&seasonid=604208&id=5225442&lid=7

@cjezell said:
I have been having an issue for the last three weeks where whenever I import a television season, Plex will skip episode 10 completely. It’s not that it misidentifies the episode, it simply doesn’t appear at all. Last night, it also started doing the same with episode 11’s as well. I have tried the recommended naming convention as well as a couple of different variations, and nothing works. And yes, I have done the “Plex Dance” SEVERAL times.

Here is how the files are named:

“\ds1512\video\Television\Star Wars The Clone Wars\Season 1\Star Wars The Clone Wars - S01E10 - Lair of Grievouos.mp4”

(snip)

Would you please show the files and structure as you have them (the block)?

Also, is there any metadata tagging inside those MP4 files? Incorrect “Name” field values will result in non-match. This is one reason MKV files are easier than MP4. The counterpoint to using MKV for all is not all players can play an MP4 natively. PMS doesn’t care because it reads both formats natively and streams the H.264 & audio streams (which both have in common).

To further this for all: I am unable to reproduce difficulties with Star Wars: The Clone Wars:

File names/structure:

Star Wars The Clone Wars/
  Season 01/
    Star Wars The Clone Wars.S01E01.mkv
    Star Wars The Clone Wars.S01E02.mkv
    Star Wars The Clone Wars.S01E03.mkv
    Star Wars The Clone Wars.S01E04.mkv
    Star Wars The Clone Wars.S01E05.mkv
    Star Wars The Clone Wars.S01E06.mkv
    Star Wars The Clone Wars.S01E07.mkv
    Star Wars The Clone Wars.S01E08.mkv
    Star Wars The Clone Wars.S01E09.mkv
    Star Wars The Clone Wars.S01E10.mkv
    Star Wars The Clone Wars.S01E11.mkv
    Star Wars The Clone Wars.S01E12.mkv
    Star Wars The Clone Wars.S01E13.mkv
    Star Wars The Clone Wars.S01E14.mkv
    Star Wars The Clone Wars.S01E15.mkv

Six seasons were created. All present and accounted for. No ‘Episode 10’ naming difficulties whatsoever.

As further diagnosis,

I created dummy MKV files for all episodes.

The actual date / time is placed in a text file with the proper name and file creation is separated by 1 second to ensure each file generates a sufficiently different fingerprint for the scanner.

The script is:

#!/bin/tcsh

foreach i (01 02 03 04 05 06 07 08 09 10 11 12 13 14 15)
foreach j (01 02 03 04 05 06)
echo  "This is $i $j `date` and some other meaningless djunkasdfh24taskjhertywerygbafgyb `date`" > "Star Wars The Clone Wars.S${j}E${i}.mkv"
sleep 1
end
end

S01E10’s contents are:

[chuck@lizum Seasion 01.128]$ cat *E10*
This is 10 01 Sun Jan 22 13:37:47 EST 2017 and some other meaningless djunkasdfh24taskjhertywerygbafgyb Sun Jan 22 13:37:47 EST 2017

S02E10’s contents are:

[chuck@lizum Seasion 01.130]$ cd ../*2
[chuck@lizum Seasion 02.131]$ cat *10*
This is 10 02 Sun Jan 22 13:37:48 EST 2017 and some other meaningless djunkasdfh24taskjhertywerygbafgyb Sun Jan 22 13:37:48 EST 2017
[chuck@lizum Seasion 02.132]$ 

Notice, enough to create signature differences to prevent the scanner from labeling as duplicates.