3 digit numbers within episode title = missing from disk

It doesn’t seem to matter how well named the rest of the file is, if there is a 3 digit number in the title section, it’s ignored by sonarr.

I’m able to workaround this by renaming the file to remove the number, then sonarr will find and add it into its DB at which point I can rename it via sonarr with no problem.

Examples

Community - S01E09 - Debate 109 (this show has heaps of 101 episode names zzzzz)
Entourage - S02E02 - My Maserati Does 185

edit… another:

6x13 - The Family Guy 100th Episode Special

Are these the actual file names on disk? If not, the exact filenames would help us track down the issue.

Yep these were the file names. I’ll add anymore I come across. All of the similarly named files from the same season were picked up fine. 01x09 vs S01E09 made no difference. From what I can tell you should be able to drop say ‘101’ into just about any file name and scan it to test.

Just tested and renaming as below caused the file to drop out of sonarr

Heroes - S01E01 - Genesis [HDTV-720p].mkv
Heroes - S01E01 - Genesis 101 [HDTV-720p].mkv

Here’s a good one… lol

My Name Is Earl - S03E01-E02 - My Name Is Inmate 28301-016 [SDTV].avi

Community S01E09 working here fine named as such

Community - S01E09 - Debate 109 - [DVD].avi

The only two I’m seeing issues with are:

My Name Is Earl - S03E01-E02 - My Name Is Inmate 28301-016 [SDTV]

and

Heroes - S01E01 - Genesis 101 [HDTV-720p]

I assume in all your examples the quality is in brackets at the end (which is why I wanted the exact file names), the underlying issue isn’t easily fixed because its treating the quality in [] as the release group for an anime episode because it finds a 3 digit number in the episode title.

Ultimately the fix will come as part of a larger overhaul of our parsing engine, but thats not something we’re looking at doing in the near term. https://trello.com/c/32Qmp2Oq/692-advanced-parser

So it’s a matter of the prioritising of episode numbering formats in the parser? Shouldn’t it be that once it correctly identifies a standardised numbering scheme such as s01e01, 1x01, which are almost always early on in a string, it ignores any further numbers found?

Are the brackets a problem? Shouldn’t quality tags and square brackets be irrelevant? Square brackets are generally accepted as borders for tagging. What’s your suggestion to avoid this? I’m open to changing just about anything to ensure no new downloaded episodes are ignored by sonarr over this.

Thanks for the help. Almost finished migrating. :smile:

No, its not that simple when you start mixing anime into the mix.

Its a problem because it directly conflicts with an Regex for parsing anime.

Not really a standard for non-anime releases.

Don’t wrap the quality in square brackets is the easiest (to deal with these already sorted files) but this issue is only going to affect parsing already sorted episodes from disk, unless the scene drastically changes up the naming format they use.

Thanks for the feedback. I’m fine with ditching the square brackets. I think they were a remnant of media browser or some early tool. But i would prefer quality or other tags to be wrapped or prefixed clearly somehow so that full title strings can easily and accurately be pulled from file names by other software. Do you have any suggestions in terms of characters to prefix or wrap with for future compatibility? If I go with -%QN will it conflict with say, group name as per scene conventions?

Outlander - S01E01 - Sassenach [WEBDL-720p].mkv

Outlander - S01E01 - Sassenach-WEBDL-720p.mkv

Something like this doesn’t strike me as the best solution as some title names do include hyphens.

If anyone else has suggestions or links to better discussions on this please jump in.

It must be really frustrating to hit snags like this. Absolute numbering is a pita, which is why I moved away from it years ago with my anime but I guess you can’t control what the scene does.

Here’s another one

Sons of Anarchy - S06E09 - John 832 [720p BluRay].mkv

Renamed it to this and it worked fine:

Sons of Anarchy - S06E09 - John 832 720p BluRay.mkv

Thanks for identifying the issue for me.

(%QN) would work. Dashes would conflict with picking up the release group, though Sonarr might be filtering that out (offhand I’m not sure).