I have a Feature Request for just this. I’m reading through the thread again to do this MockUp & saw your post & thought you were ahead of your time, but that time, is now. lol
Plex now has a .plexmatch
file for "match-hinting feature that can help advanced users gain more control over how their TV series files are scanned & matched."
for “episodes with tricky filenames” Since it’s new I think it will be easier to get changes to it pushed through, & your post is right in-line with the kinda thing I’m trying to suggest, so any input would be greatly appreciated.
I’ve mocked up an example for the Doctor Who issue that is mentioned in this thread
/TV Shows
/Doctor Who (2005)
.plexmatch
/Season 1 - Eccleston
Eccleston S01E01.mkv
Eccleston S01E02.mkv
Eccleston S01E03.mkv
Eccleston S01E04.mkv
Eccleston S01E05.mkv
Eccleston S01E06.mkv
Eccleston S01E07.mkv
Eccleston S01E08.mkv
Eccleston S01E09.mkv
Eccleston S01E10.mkv
Eccleston S01E11.mkv
Eccleston S01E12.mkv
Eccleston S01E13.mkv
/Season 2 - Tennant 1
Tennant S02E01.mkv
Tennant S02E02.mkv
Tennant S02E03.mkv
Tennant S02E04.mkv
Tennant S02E05.mkv
Tennant S02E06.mkv
Tennant S02E07.mkv
Tennant S02E08.mkv
Tennant S02E09.mkv
Tennant S02E10.mkv
Tennant S02E11.mkv
Tennant S02E12.mkv
Tennant S02E13.mkv
/Season 3 - Tennant 2
Tennant S03E01.mkv
Tennant S03E02.mkv
Tennant S03E03.mkv
Tennant S03E04.mkv
Tennant S03E05.mkv
Tennant S03E06.mkv
Tennant S03E07.mkv
Tennant S03E08.mkv
Tennant S03E09.mkv
Tennant S03E10.mkv
Tennant S03E11.mkv
Tennant S03E12.mkv
Tennant S03E13.mkv
Voyage of the Damned S03E14.mkv
/Season 7 - Smith 3
Smith S07E01.mkv
Smith S07E02.mkv
Smith S07E03.mkv
Smith S07E04.mkv
Smith S07E05.mkv
Smith S07E06.mkv
Smith S07E07.mkv
Smith S07E08.mkv
Smith S07E09.mkv
Smith S07E10.mkv
Smith S07E11.mkv
Smith S07E12.mkv
Smith S07E13.mkv
/Christmas
Tennant S01E14.mkv
Runaway Bride S02E100.mkv
Next Doctor S04E14.mkv
End of Time S04E101.mkv
End of Time S04E102 - Part 2.mkv
Christmas Carol S05E14.5.mkv
Dr Who S06E14 - Doctor, Widow, Wardrobe.mkv
Smith S07E05.5 - Snowmen.mkv
S07E16 - Time of the Doctor.mkv
/Specials
Day of the Doctor S07E15.mkv
Children in Need - Born Again S00E01.mkv
Infinite Quest S00E05.mkv
CIN Time Crash S00E06.mkv
Planet of the Dead S04E20.mkv
Waters of Mars S04E30.mkv
- .plexmatch Version WITH the Between
.5
Episodes
# Dr Who With In-Between Episodes
# Using the TVDBepisodeID Hint
ep: S01E14: TVDBepisodeID: 311603: /Christmas/Tennant S01E14.mkv
ep: S02E100: TVDBepisodeID: 306978: /Christmas/Runaway Bride S02E100.mkv
ep: S03E14: TVDBepisodeID: 334734: /Season 3 - Tennant 2/Voyage of the Damned S03E14.mkv
ep: S04E101: TVDBepisodeID: 6101698: /Christmas/End of Time S04E101.mkv
ep: S04E102: TVDBepisodeID: 1247711: /Christmas/End of Time S04E102 - Part 2.mkv
ep: S04E20: TVDBepisodeID: 450701: /Specials/Planet of the Dead S04E20.mkv
ep: S04E30: TVDBepisodeID: 533011: /Specials/Waters of Mars S04E30.mkv
ep: S05E14: TVDBepisodeID: 2831831: /Christmas/Christmas Carol S05E14.5.mkv
ep: S06E14: TVDBepisodeID: 4195944: /Christmas/Dr Who S06E14 - Doctor, Widow, Wardrobe.mkv
ep: S07E05.5: TVDBepisodeID: 4378968: /Christmas/Smith S07E05.5 - Snowmen.mkv
ep: S07E16: TVDBepisodeID: 4562135: /Christmas/S07E16 - Time of the Doctor.mkv
-
-
- I’ve mixed some different naming methods, in-line with the current structure, to show other possibilities & flexibility. Major benefit being your numbering is how you want it
- .plexmatch Version with NO the Between
.5
Episodes allowed
# Dr Who With Only Whole Numbers allowed for sorting
# Using the TVDBepisodeID Hint
ep: S01E14: TVDBepisodeID: 311603: /Christmas/Tennant S01E14.mkv
ep: S02E100: TVDBepisodeID: 306978: /Christmas/Runaway Bride S02E100.mkv
ep: S03E14: TVDBepisodeID: 334734: /Christmas/Voyage of the Damned S03E14.mkv
ep: S04E101: TVDBepisodeID: 6101698: /Christmas/End of Time S04E101.mkv
ep: S04E102: TVDBepisodeID: 1247711: /Christmas/End of Time S04E102 - Part 2.mkv
ep: S04E20: TVDBepisodeID: 450701: /Specials/Planet of the Dead S04E20.mkv
ep: S04E30: TVDBepisodeID: 533011: /Specials/Waters of Mars S04E30.mkv
ep: S05E14: TVDBepisodeID: 2831831: /Christmas/Christmas Carol S05E14.5.mkv
ep: S06E14: TVDBepisodeID: 4195944: /Christmas/Dr Who S06E14 - Doctor, Widow, Wardrobe.mkv
# Note the Episode Files from here would be changed to the names given
# Using 100s to help with naming so episode 7 is 107 & 8 is 108, etc but that's a Personal Preference
ep: S07E06: TVDBepisodeID: 4378968: /Christmas/Smith S07E06 - Snowmen.mkv
ep: S07E106: TVDBepisodeID: 4515286: /Season 7 - Smith 3/Smith S07E106.mkv
ep: S07E107: TVDBepisodeID: 4411643: /Season 7 - Smith 3/Smith S07E107.mkv
ep: S07E108: TVDBepisodeID: 4537305: /Season 7 - Smith 3/Smith S07E108.mkv
ep: S07E109: TVDBepisodeID: 4537306: /Season 7 - Smith 3/Smith S07E109.mkv
ep: S07E110: TVDBepisodeID: 4537307: /Season 7 - Smith 3/Smith S07E110.mkv
ep: S07E111: TVDBepisodeID: 4537308: /Season 7 - Smith 3/Smith S07E111.mkv
ep: S07E112: TVDBepisodeID: 4537310: /Season 7 - Smith 3/Smith S07E112.mkv
ep: S07E113: TVDBepisodeID: 4550224: /Season 7 - Smith 3/Smith S07E113.mkv
ep: S07E16: TVDBepisodeID: 4562135: /Christmas/S07E16 - Time of the Doctor.mkv
-
-
- Here we had to match the Episode ID for each episode that comes after the in-between. I personally do this with 100 episodes so I used the system I’m familiar with, but it’s flexible so you have a lot of flexibility if it’s implemented. {For the 100s I name the files correctly. Lock each field, then rename the files by adding a 1 after the E for each file. It’s the best method I’ve found so far, but by no means the only possible or best way.
/TV Shows
/Doctor Who (2005)
.plexmatch
/Season 1 - Eccleston
Eccleston S01E01.mkv
Eccleston S01E02.mkv
Eccleston S01E03.mkv
Eccleston S01E04.mkv
Eccleston S01E05.mkv
Eccleston S01E06.mkv
Eccleston S01E07.mkv
Eccleston S01E08.mkv
Eccleston S01E09.mkv
Eccleston S01E10.mkv
Eccleston S01E11.mkv
Eccleston S01E12.mkv
Eccleston S01E13.mkv
/Season 2 - Tennant 1
Tennant S02E01.mkv
Tennant S02E02.mkv
Tennant S02E03.mkv
Tennant S02E04.mkv
Tennant S02E05.mkv
Tennant S02E06.mkv
Tennant S02E07.mkv
Tennant S02E08.mkv
Tennant S02E09.mkv
Tennant S02E10.mkv
Tennant S02E11.mkv
Tennant S02E12.mkv
Tennant S02E13.mkv
/Season 3 - Tennant 2
Tennant S03E01.mkv
Tennant S03E02.mkv
Tennant S03E03.mkv
Tennant S03E04.mkv
Tennant S03E05.mkv
Tennant S03E06.mkv
Tennant S03E07.mkv
Tennant S03E08.mkv
Tennant S03E09.mkv
Tennant S03E10.mkv
Tennant S03E11.mkv
Tennant S03E12.mkv
Tennant S03E13.mkv
/Season 7 - Smith 3
Smith S07E01.mkv
Smith S07E02.mkv
Smith S07E03.mkv
Smith S07E04.mkv
Smith S07E05.mkv
Smith S07E06.mkv
Smith S07E07.mkv
Smith S07E08.mkv
Smith S07E09.mkv
Smith S07E10.mkv
Smith S07E11.mkv
Smith S07E12.mkv
Smith S07E13.mkv
/Specials
Tennant S00E02.mkv
Runaway Bride S00E04.mkv
Voyage of the Damned S00E07.mkv
Next Doctor S00E09.mkv
End of Time S00E16.mkv
End of Time S00E17 - Part 2.mkv
Christmas Carol S00E34.mkv
Dr Who S00E47 - Doctor, Widow, Wardrobe.mkv
Smith S00E66 - Snowmen.mkv
S00E84 - Time of the Doctor.mkv
Day of the Doctor S00E83.mkv
Children in Need - Born Again S00E01.mkv
Infinite Quest S00E05.mkv
CIN Time Crash S00E06.mkv
Planet of the Dead S00E13.mkv
Waters of Mars S00E14.mkv
- .plexmatch Version WITH the Between
.5
Episodes
# Dr Who With In-Between Episodes
# Using the SortTo Hint
ep: S00E02: SortTo: S01E14: /Specials/Tennant S00E02.mkv
ep: S00E04: SortTo: S02E100: /Specials/Runaway Bride S00E04.mkv
ep: S00E07: SortTo: S03E14: /Specials/Voyage of the Damned S00E07.mkv
ep: S00E16: SortTo: S04E101: /Specials/End of Time S00E16.mkv
ep: S00E17: SortTo: S04E102: /Specials/End of Time S00E17 - Part 2.mkv
ep: S00E13: SortTo: S04E20: /Specials/Planet of the Dead S00E13.mkv
ep: S00E14: SortTo: S04E30: /Specials/Waters of Mars S00E14.mkv
ep: S00E34: SortTo: S05E14: /Specials/Christmas Carol S00E34.mkv
ep: S00E47: SortTo: S06E14: /Specials/Dr Who S00E47 - Doctor, Widow, Wardrobe.mkv
ep: S00E66: SortTo: S07E05.5: /Specials/Smith S00E66 - Snowmen.mkv
ep: S00E84: SortTo: S07E16: /Specials/S00E84 - Time of the Doctor.mkv
- .plexmatch Version with NO the Between
.5
Episodes allowed
# Dr Who With Only Whole Numbers allowed for sorting
# Using the SortTo Hint
ep: S00E02: SortTo: S01E14: /Specials/Tennant S00E02.mkv
ep: S00E04: SortTo: S02E100: /Specials/Runaway Bride S00E04.mkv
ep: S00E07: SortTo: S03E14: /Specials/Voyage of the Damned S00E07.mkv
ep: S00E16: SortTo: S04E101: /Specials/End of Time S00E16.mkv
ep: S00E17: SortTo: S04E102: /Specials/End of Time S00E17 - Part 2.mkv
ep: S00E13: SortTo: S04E20: /Specials/Planet of the Dead S00E13.mkv
ep: S00E14: SortTo: S04E30: /Specials/Waters of Mars S00E14.mkv
ep: S00E34: SortTo: S05E14: /Specials/Christmas Carol S00E34.mkv
ep: S00E47: SortTo: S06E14: /Specials/Dr Who S00E47 - Doctor, Widow, Wardrobe.mkv
ep: S00E66: SortTo: S07E06: /Specials/Smith S00E66 - Snowmen.mkv
ep: S00E84: SortTo: S07E116: /Specials/S00E84 - Time of the Doctor.mkv
# Note the Episode Files from here would be changed to the names given
# Using 100s to help with naming so episode 7 is 107 & 8 is 108, etc but that's a Personal Preference
ep: S07E06-S07E13: SortTo: S07E106-S07E113
# According to the Documents for the .PlexMatch the series of sequential items work,
# but in that case you have to rely on solely the hint as there's no way to name files when you do that.
# It makes it quicker to do, for sure, but at the cost of a lot of control.
Personal thoughts on the matter is that the TVDBepisodeID
version I think is a better one, but requires more work to setup because you have to pull the IDs yourself. That being said there should be a simple way to script it. I also personally think it was easier to get the Episode IDs than it was to match the episodes up. Doing a single match would take no longer than looking at the entry on TVdb. Things I like are that the files are physically sorted to the way you want them, instead of the SortTo
which needs the files to be named to match, which could break if TVdb changes their episode orders (I’ve had that problem before). Using the EpisodeID from TVDB it’s linked to that entry no matter where that entry exists, & can even be linked to unsorted episodes which would solve a problem that exists with Re:Zero Director’s Cut because the director’s cut only has the 1st season, it only exists in a special sorting category
that is incomplete so can’t be used even if we had the option to select it unless you didn’t have season 2. This wouldn’t be possible with the SortTo
method. The SortTo
method could also have some problems with Episode Ordering
settings. But could also make some things simpler because of that. For example For Dr Who there’s a DVD Order
which includes the Christmas Specials. If I had the show myself I’d most certainly use that, but switching between the 2 if I changed my mind would require manually renaming the files to match the Sort Order
used.
The benefits of the SortTo
method would be that it is easier to edit if things do change, but at the same time it’s that vulnerability that is it’s biggest problem as well.
Since the .plexmatch
is still new I feel getting changes to it may be easier, plus I see a lot of other use cases that could benefit from it. Like, for example, The Re: Zero issue, I personally have both the 1st Season as well as the Director’s Cut on my server. The Director’s Cut version is season 101. With this I could potentially have both not only existing on my server, but matched as well.
-
- Note: that the
ep: S03E14:
& the /Season 3 - Tennant 2/Voyage of the Damned S03E14.mkv
in the .plexmatch
file shouldn’t both be necessary. According to the documentation if this is added in-line with the way things currently work, you should be able to use either alone to get the result but the documentation is not very specific & doesn’t say that directly, just seems to imply it. I included both for completeness & demonstrative purposes
-
- Note: TheTVdb no longer lists the
Episode ID
on the page, but it’s still included in the URL. As far as I know TheMovieDB doesn’t use Episode IDs
at all, so there probably isn’t a possibility of having that work. But if anyone knows different I’d love to be corrected. IMdb does have seperate tt#s
for each episode, but I myself have given up on IMdb a long time ago, Plex doesn’t like IMdb, in general, & I’m not sure those links exist across platforms, so I haven’t done anything with that but feel free to if someone thinks that’s better