Error in season regexp when "101" in episode name

An error has been introduced with season naming, It matches episode names in fx. Community

Community.S01E02.Spanish.101.1080p.WEB-DL.x264
Community.S02E01.Anthropology.101.1080p.WEB-DL.x264
Community.S03E01.Biology.101.1080p.WEB-DL.x264

The episodes with “101” in the episode names are reported missing.

What’s the full file/release name? That looks like https://github.com/Sonarr/Sonarr/issues/457

Sonarr buid: 2.0.0.4855 - 04 Jul 2017

I mean the full name of the video file/release.

Please post some ((debug logs)) of the issue so we can take a look.

debug enabled and performed a rescan of Community.

17-7-17 19:38:35.8|Info|RefreshSeriesService|Updating Info for Community
17-7-17 19:38:36.1|Info|RefreshEpisodeService|Starting episode info refresh for: [94571][Community]
17-7-17 19:38:36.2|Info|RefreshEpisodeService|Finished episode refresh for series: [94571][Community].
17-7-17 19:38:36.2|Debug|RefreshSeriesService|Finished series refresh for Community
17-7-17 19:38:36.2|Info|DiskScanService|Scanning disk for Community
17-7-17 19:38:36.2|Debug|DiskScanService|Scanning 'C:\Users\larskl\Serier\Community' for video files
17-7-17 19:38:36.2|Debug|DiskScanService|110 video files were found in C:\Users\larskl\Serier\Community
17-7-17 19:38:36.2|Debug|DiskScanService|[94571][Community] Cleaning up media files in DB
17-7-17 19:38:36.3|Debug|MediaFileTableCleanupService|File [C:\Users\larskl\Serier\Community\Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv] is not assigned to any episodes, removing from db
17-7-17 19:38:36.5|Debug|MediaFileTableCleanupService|File [C:\Users\larskl\Serier\Community\Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv] is not assigned to any episodes, removing from db
17-7-17 19:38:36.5|Debug|SubtitleFileService|Deleting Extra from database for episode file: [58237] Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv
17-7-17 19:38:36.5|Debug|MetadataFileService|Deleting Extra from database for episode file: [58237] Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv
17-7-17 19:38:36.5|Debug|OtherExtraFileService|Deleting Extra from database for episode file: [58237] Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv
17-7-17 19:38:36.7|Debug|OtherExtraFileService|Deleting Extra from database for episode file: [58238] Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv
17-7-17 19:38:36.7|Debug|SubtitleFileService|Deleting Extra from database for episode file: [58238] Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv
17-7-17 19:38:36.7|Debug|MetadataFileService|Deleting Extra from database for episode file: [58238] Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv
17-7-17 19:38:36.7|Debug|Parser|Parsing string 'Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv'
17-7-17 19:38:36.7|Debug|Parser|Episode Parsed. Community S01E02 Spanish - 101 
17-7-17 19:38:36.7|Debug|QualityParser|Trying to parse quality for Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv
17-7-17 19:38:36.8|Debug|ParsingService|Using absolute episode number 101 for: Community - TVDB: 6x04
17-7-17 19:38:36.8|Debug|NotUnpackingSpecification|C:\Users\larskl\Serier\Community\Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv is in series folder, skipping unpacking check
17-7-17 19:38:36.8|Debug|Parser|Parsing string 'Community.S06E04.Queer.Studies.&.Advanced.Waxing.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv'
17-7-17 19:38:36.8|Debug|Parser|Episode Parsed. Community - S06E04 
17-7-17 19:38:36.8|Debug|QualityParser|Trying to parse quality for Community.S06E04.Queer.Studies.&.Advanced.Waxing.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv
17-7-17 19:38:36.9|Debug|NotUnpackingSpecification|C:\Users\larskl\Serier\Community\Community.S06E04.Queer.Studies.&.Advanced.Waxing.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv is in series folder, skipping unpacking check
17-7-17 19:38:36.9|Debug|Parser|Parsing string 'Community.S03E01.Biology.101.1080p.WEB-DL.x264.E-AC-3.[EN]-TrollHD.mkv'
17-7-17 19:38:36.9|Debug|Parser|Episode Parsed. Community S03E01 Biology - 101 
17-7-17 19:38:36.9|Debug|QualityParser|Trying to parse quality for Community.S03E01.Biology.101.1080p.WEB-DL.x264.E-AC-3.[EN]-TrollHD.mkv
17-7-17 19:38:36.9|Debug|ParsingService|Using absolute episode number 101 for: Community - TVDB: 6x04
17-7-17 19:38:36.9|Debug|NotUnpackingSpecification|C:\Users\larskl\Serier\Community\Community.S03E01.Biology.101.1080p.WEB-DL.x264.E-AC-3.[EN]-TrollHD.mkv is in series folder, skipping unpacking check
17-7-17 19:38:36.9|Debug|Parser|Parsing string 'Community.S04E01.History.101.1080p.WEB-DL.x264.E-AC-3.[EN]-TrollHD.mkv'
17-7-17 19:38:36.9|Debug|Parser|Episode Parsed. Community S04E01 History - 101 
17-7-17 19:38:37.0|Debug|QualityParser|Trying to parse quality for Community.S04E01.History.101.1080p.WEB-DL.x264.E-AC-3.[EN]-TrollHD.mkv
17-7-17 19:38:37.0|Debug|ParsingService|Using absolute episode number 101 for: Community - TVDB: 6x04
17-7-17 19:38:37.0|Debug|NotUnpackingSpecification|C:\Users\larskl\Serier\Community\Community.S04E01.History.101.1080p.WEB-DL.x264.E-AC-3.[EN]-TrollHD.mkv is in series folder, skipping unpacking check
17-7-17 19:38:37.0|Debug|Parser|Parsing string 'Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv'
17-7-17 19:38:37.0|Debug|Parser|Episode Parsed. Community - S06E12 
17-7-17 19:38:37.0|Debug|QualityParser|Trying to parse quality for Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv
17-7-17 19:38:37.1|Debug|NotUnpackingSpecification|C:\Users\larskl\Serier\Community\Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv is in series folder, skipping unpacking check
17-7-17 19:38:37.1|Debug|EpisodeService|Linking [Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv] > [[25894]Queer Studies and Advanced Waxing]
17-7-17 19:38:37.4|Debug|EpisodeService|Linking [Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv] > [[25902]Wedding Videography]
17-7-17 19:38:37.5|Info|DiskScanService|Completed scanning disk for Community
17-7-17 19:38:37.6|Debug|VideoFileInfoReader|Getting media info from C:\Users\larskl\Serier\Community\Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv
17-7-17 19:38:37.7|Debug|UpdateMediaInfoService|Updated MediaInfo for 'C:\Users\larskl\Serier\Community\Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv'
17-7-17 19:38:37.7|Debug|VideoFileInfoReader|Getting media info from C:\Users\larskl\Serier\Community\Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv
17-7-17 19:38:37.8|Debug|UpdateMediaInfoService|Updated MediaInfo for 'C:\Users\larskl\Serier\Community\Community.S06E12.Wedding.Videography.1080p.WEB-DL.DolbyDigital.5.1.h264-NTb.mkv'
17-7-17 19:38:37.8|Debug|ExistingExtraFileService|Looking for existing extra files in C:\Users\larskl\Serier\Community
17-7-17 19:38:37.8|Debug|DiskScanService|Scanning 'C:\Users\larskl\Serier\Community' for non-video files
17-7-17 19:38:37.9|Debug|DiskScanService|0 non-video files were found in C:\Users\larskl\Serier\Community
17-7-17 19:38:37.9|Debug|ExistingMetadataImporter|Looking for existing metadata in C:\Users\larskl\Serier\Community
17-7-17 19:38:37.9|Debug|ExistingSubtitleImporter|Looking for existing subtitle files in C:\Users\larskl\Serier\Community
17-7-17 19:38:38.0|Debug|ExistingOtherExtraImporter|Looking for existing extra files in C:\Users\larskl\Serier\Community
17-7-17 19:38:38.0|Debug|XemService|Scene numbering is not available for Community [94571]
17-7-17 19:38:38.4|Debug|CleanExtraFileService|Cleaning missing metadata files for series: Community

I don’t have the original filename. It got imported fine to Sonarr. Sonarr renamed the episode and then later it dropped it from the database after a rescan because of the naming conflict. Se debug-log.

C:\Users\larskl\Serier\Community\Community.S01E02.Spanish.101.1080p.WEB-DL.x264.EAC3.[EN]-TrollHD.mkv same issue as I linked to, the 101 + [EN] triggers the anime parser.

You can use Manual Import from Wanted: Missing or rename the files on disk, rescan then tell Sonarr to rename them.

The episode history should show why it was dropped, but the naming itself wouldn’t do that (unless it was renamed outside of Sonarr).

Don’t have history anymore because i tried to delete show and reimport files. But it said files were missing.

Thanks for your help.

And no, files were not renamed outside of sonarr

  1. Sonarr imports files and renames them. All ok
  2. Ten months later sonarr removes files from db.

Source Title Quality Date
C:\Users\larskl\Serier\30 Rock\30.Rock.S05E21.100.(2).1080p.WEB-DL.x264.E-AC-3.[EN]-NTb.mkv WEBDL-1080p Last Tuesday
30.Rock.S05E21.100.Part.2.1080p.AMZN.WEBRip.DD5.1.x264-NTb WEBDL-1080p a year ago
\nas06\hdd01\serier\30 Rock\30 Rock S05E21 100th Episode Part 2 720p WEB-DL DD5.1 H.264 - HoodBag.mkv WEBDL-720p a year ago
30.Rock.S05E21.100.Part.2.1080p.AMZN.WEBRip.DD5.1.x264-NTb WEBDL-1080p a year ago

It seems it is a new bug. I have solved it by changing the naming regexp and removed language.

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