Scanner to accept filenames without sXXeXX (i.e. 102 or 1304)

Plex media scanner misses files named with the season and episode concatenated which sucks because I don't want to re-name everything. (And no, I don't have my stuff in folders adhering to Plex naming conventions but usually don't have issues besides this)

the only scanner that doesn’t care about files names is the the one for home movies.which won’t treat your files like a tv show or bring in any metadata not embedded.


use filebot ( or another of the many other renamers) to rename your files in seconds if you don’t want to do it manually

Nothing really to contribute, just wanted to point out that naming conventions of series with SxxExx is not limited to the conventions of Plex but is actually very common. Consider yourself lucky this is the first time you bump into it :)

TheRenamer

All of these work if I can rename the file, but sometimes *seeding* you want to leave the filename… Also it's not that uncommon of a thing, and I wouldn't expect it to be quite as robust, but as the scanner already unexplicitly allows other formats it would be nice if it also tried to parse this type as well…

I lied, they had that support, there is just a bug in the scanner code (yes, I just spent like an hour debugging the plex scanner regex). For some reason (and it's unfortunately too late at night for me to think clearly enough to figure out why) it's not trying all of the regex options and failing (at least on 0.9.8.9 on mac). I'll keep looking tomorrow but if a dev could hop on or ping me I would appreciate it.

Line 12 needs to be this: 

 
    '(?P.*?)[^0-9a-z](?P[0-9]{1,2})(?P[0-9]{2})([\.\-][0-9]+(?P[0-9]{2})([ \-_\.]|$)[\.\-]?)?([^0-9a-z%]|$)' # .602.

and line 54 should be this:
 
 
      for rx in episode_regexps:
 
(at least best I can tell trying just to fix the bug without breaking anything else) I would also recommend adding a 'break' at line 75 inside the if statement but outside of the for loop so that no show will be matched twice (the later regex are friendlier and will mess up shows which match SxxExx etc. which I assume is why they have it disabled)

That regex is applied selectively "by design" precisely because it's so forgiving.  We only want it to match in the case that we have reliable show/season information from directory hierarchy.  Your change would cause *anything* in the top-level folder of a section that has three digits in the name to be matched as an episode with the show name taken to be the stuff that comes before the digits, which would likely lead to a ton of garbage and false positives for lots of people.

In your case, if you really want this behavior, I suggest creating a custom scanner that does exactly what you want: http://forums.plexapp.com/index.php/topic/19396-how-to-install-a-custom-scanner/

... or find a way to sort your shows into season/ep folders without renaming the files.

I made a custom scanner to apply my fix before posting, and I understand what you're saying, it would be nice if that was in the documentation.

Early 2021 clean-up: while not officially condoned, this is already supported/implemented