TV detection of episodes with NxN in the program title breaks

Plex has a serious problem if a TV series has NxN in the title. For example, I have the series “3x3 Eyes”, which consists of 2 seasons, with 4 and 3 episodes in each season respectively:

3x3 Eyes
3x3 Eyes/Season 1
3x3 Eyes/Season 1/3x3 Eyes - 1x02 - Yakumo.mp4
3x3 Eyes/Season 1/3x3 Eyes - 1x03 - Sacrifice.mp4
3x3 Eyes/Season 1/3x3 Eyes - 1x04 - Straying.mp4
3x3 Eyes/Season 1/3x3 Eyes - 1x01 - Transmigration.mp4
3x3 Eyes/Season 2
3x3 Eyes/Season 2/3x3 Eyes - 2x01 - Descent.mp4
3x3 Eyes/Season 2/3x3 Eyes - 2x02 - The Key.mp4
3x3 Eyes/Season 2/3x3 Eyes - 2x03 - The Return.mp4

Plex, however, detects it as 3x3 Eyes (correctly) but as one episode (3) or one season (3), and 7 files making up that episode. Season 3, though, just plain doesn’t exist (as can be seen here).

This, of course, is very, very wrong. It obviously finds the first (\d+)x(\d+) and thinks that must be right, ignoring the possibility that there may be others in there as well.

So: is this something that could maybe get fixed sometime soon? Or, better than fixing this one situation, how about the ability to specify a regular expression (or something token based maybe) for changing the detection and parsing method used for a specific TV program (or even a whole library? All my files go via Filebot to get them in the same format)…?

In these edge cases, always go with the officially supported naming schema. https://support.plex.tv/articles/200220687-naming-series-season-based-tv-shows/

3x3 Eyes/Season 01/3x3 Eyes - s01e02 - Yakumo.mp4

Don’t forget to do this, to exclude the influence of embedded ‘title’ meta tags. (which are often filled with useless drivel):

Go to

  • Settings - Server - Agents - Shows - TheTVDB

In there, grab the line ‘Local Media Assets’ with your mouse and drag it downwards, so it ends up being at the bottom of the stack of active agents. Repeat the same under

  • Settings - Server - Agents - Shows - TheMovieDatabase
  • Settings - Server - Agents - Movies - Plex Movie
  • Settings - Server - Agents - Movies - TheMovieDatabase

Afterwards, perform the Plex Dance

All my files are properly tagged. It’s all scripted - first through Filebot to name them properly, then those filenames are used to set the mp4 tags using AtomicParsley. Only then do they get added to my library folder. So the season and episode numbers are set, as well as the program and episode titles.

I guess I could change filebot’s settings to use sNNeNN instead of NxN, though I don’t personally like that format…

Plex must like it.

Ok, so I changed it to {n} - {s00e00} - {t} as my filebot format and renamed all my files. I have shuffled the agent order as suggested.

It has had no effect.

I have even deleted and recreated the library to try and get it to do something different. It’s still showing one episode: season 3, episode 3, with 7 files in it.

And here’s my tags:

$ AtomicParsley 3x3\ Eyes\ -\ S01E01\ -\ Transmigration.mp4 -t
Atom "©too" contains: HandBrake 1.0.7 2017082500
Atom "©nam" contains: Transmigration
Atom "tvsh" contains: 3x3 Eyes
Atom "tven" contains: Transmigration
Atom "tvsn" contains: 1
Atom "tves" contains: 1

For now I have “fixed” it by removing the program title portion of the filenames:

3x3 Eyes/
3x3 Eyes/Season 1
3x3 Eyes/Season 1/1x01 - Transmigration.mp4
3x3 Eyes/Season 1/1x02 - Yakumo.mp4
3x3 Eyes/Season 1/1x03 - Sacrifice.mp4
3x3 Eyes/Season 1/1x04 - Straying.mp4
3x3 Eyes/Season 2
3x3 Eyes/Season 2/2x01 - Descent.mp4
3x3 Eyes/Season 2/2x03 - The Return.mp4
3x3 Eyes/Season 2/2x02 - The Key.mp4

It seems to like that much better. Still something that needs addressing though.

A recommendation for the episode naming template.

{n}/Season {s}/{n} - {s00e00} - {t}

That is what I had, and it made no difference to plex - it still preferred the 3x3 in the program name.

Did you Plex Dance the entire series? (Renaming while in-situ doesn’t always make the correct selection).
This might be one of those edge cases where your only choice is to manually match it because series name is contrary to internet naming convention

I deleted the entire library. Surely that’s the most belt-and-braces option…?

By the way - all matching works perfectly. The files are named using data from TheTVDB. It’s just the 3x3 in the program title that throws Plex a curve ball. You can’t “manually” match it since the data is already correct. It’s just Plex not able to handle that correct data that is at fault.

One could also try a synonym (if they exist, but that is quite common in Anime): Sazan Eyes in this case

That just returns “3x3 Eyes” and the problem is still there. I already have the “fix” (remove the program title from the filename itself) - but the problem needs to be addressed within Plex to prevent these kind of issues from happening. It just needs to identify “This portion of the filename is the title and I must not try matching any part of it for season and episode numbering”. And since it knows what the title is, and the initial portion of the filename is an exact match, it’s not exactly difficult to arrange…

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