Sonarr Ver. 2.0.0.5250
Mono JIT compiler version 5.10.1.20
Ubuntu 18.04.01 LTS
No debug logs
When I put episodes in the Specials folder for a series, I don’t want to bother with the acutal name (since sonarr should find and rename the file) so I will use S00E01.mkv, S00E02.mkv and so on. When I do a rescan in sonarr to find those episodes for renaming, it will not register those files. Only when I rename the episode EXACTLY to what is expected (S00E01 - Title.mkv), then will sonarr find it.
This works for all other numbered seasons like Season 01 and so forth. I can put a file like S01E01.mkv in the Season 01 folder and Sonarr will find and rename it as expected. It’s only the Specials folder where this doesn’t work (and I did try Season 00 as well, same issue)
There are no error logs when this happens, just an info log sequence like this:
Component
Message
Time
DiskScanService
Scanning disk for Keeping Up Appearances
9:27pm
RefreshEpisodeService
Finished episode refresh for series: [78079][Keeping Up Appearances].
9:27pm
RefreshEpisodeService
Starting episode info refresh for: [78079][Keeping Up Appearances]
9:27pm
RefreshSeriesService
Updating Info for Keeping Up Appearances
9:27pm
ExistingExtraFileService
Found 0 extra files
9:26pm
ExistingOtherExtraImporter
Found 0 existing other extra files
9:26pm
ExistingSubtitleImporter
Found 0 existing subtitle files
9:26pm
ExistingMetadataImporter
Found 0 existing metadata files
9:26pm
DiskScanService
Completed scanning disk for Keeping Up Appearances
I was able to do a trace for this. Here’s a snippet of what I see:
code:
18-10-24 13:04:20.5|Info|DiskScanService|Scanning disk for One-Punch Man
18-10-24 13:04:20.5|Trace|EventAggregator|Publishing CommandUpdatedEvent
18-10-24 13:04:20.5|Trace|EventAggregator|CommandUpdatedEvent → CommandModule
18-10-24 13:04:20.5|Trace|EventAggregator|CommandUpdatedEvent ← CommandModule
18-10-24 13:04:20.5|Debug|DiskScanService|Scanning ‘/pub/Media/Video/Television/One-Punch Man’ for video files
18-10-24 13:04:20.5|Trace|DiskScanService|48 files were found in /pub/Media/Video/Television/One-Punch Man
18-10-24 13:04:20.5|Debug|DiskScanService|18 video files were found in /pub/Media/Video/Television/One-Punch Man
18-10-24 13:04:20.5|Trace|DiskScanService|Finished getting episode files for: [293088][One-Punch Man] [00:00:00.0113054]
18-10-24 13:04:20.5|Debug|DiskScanService|[293088][One-Punch Man] Cleaning up media files in DB
18-10-24 13:04:20.5|Debug|ImportDecisionMaker|Analyzing 6/18 files.
18-10-24 13:04:20.5|Debug|Parser|Parsing string ‘S00E02.mkv’
18-10-24 13:04:20.5|Trace|Parser|^(?:S?(?(?<!\d+)(?:\d{1,2}|\d{4})(?!\d+))(?:(?:[-_ ]?[ex])(?\d{2,3}(?!\d+))))
18-10-24 13:04:20.5|Debug|Parser|Episode Parsed. - S00E02
18-10-24 13:04:20.5|Debug|Parser|Language parsed: English
18-10-24 13:04:20.5|Debug|QualityParser|Trying to parse quality for S00E02.mkv
18-10-24 13:04:20.5|Debug|Parser|Quality parsed: HDTV-720p v1
18-10-24 13:04:20.5|Debug|Parser|Release Group parsed:
18-10-24 13:04:20.5|Trace|ConfigService|Using default config value for ‘enablemediainfo’ defaultValue:‘True’
18-10-24 13:04:20.5|Debug|VideoFileInfoReader|Getting media info from /pub/Media/Video/Television/One-Punch Man/Specials/S00E02.mkv
18-10-24 13:04:20.5|Trace|MediaInfo|Read file offset 0-11812864 (11812864 bytes)
18-10-24 13:04:20.5|Trace|MediaInfo|Read file offset 52058291-52074940 (16649 bytes)
18-10-24 13:04:20.5|Trace|MediaInfo|Read a total of 11829513 bytes (22.7%)
18-10-24 13:04:20.5|Debug|AggregateQuality|Using quality: HDTV-720p v1
18-10-24 13:04:20.5|Debug|ImportDecisionMaker|File rejected for the following reasons: [Permanent] Invalid season or episode
If I do the same thing with any numbered season (S01E01.mkv, for instance), it works.
Is that something that is in the code, or can be changed in the config file? I know that regular seasons work, let me see if I can find a quick minute to try this with a season 1 file.
Here’s a successful one:
Code:
18-10-24 14:04:25.1|Debug|ImportDecisionMaker|Analyzing 7/18 files.
18-10-24 14:04:25.1|Debug|Parser|Parsing string ‘S01E12.mkv’
18-10-24 14:04:25.1|Trace|Parser|^(?:S?(?(?<!\d+)(?:\d{1,2}|\d{4})(?!\d+))(?:(?:[-_ ]?[ex])(?\d{2,3}(?!\d+))))
18-10-24 14:04:25.1|Debug|Parser|Episode Parsed. - S01E12
18-10-24 14:04:25.1|Debug|Parser|Language parsed: English
18-10-24 14:04:25.1|Debug|QualityParser|Trying to parse quality for S01E12.mkv
18-10-24 14:04:25.1|Debug|Parser|Quality parsed: HDTV-720p v1
18-10-24 14:04:25.1|Debug|Parser|Release Group parsed:
18-10-24 14:04:25.1|Trace|ConfigService|Using default config value for ‘enablemediainfo’ defaultValue:‘True’
18-10-24 14:04:25.1|Debug|VideoFileInfoReader|Getting media info from /pub/Media/Video/Television/One-Punch Man/Season 01/S01E12.mkv
18-10-24 14:04:25.1|Trace|MediaInfo|Read file offset 0-49152 (49152 bytes)
18-10-24 14:04:25.1|Trace|MediaInfo|Read file offset 605143005-605161801 (18796 bytes)
18-10-24 14:04:25.1|Trace|MediaInfo|Read a total of 67948 bytes (0.0%)
18-10-24 14:04:25.1|Debug|AggregateQuality|Using quality: HDTV-720p v1
18-10-24 14:04:25.1|Debug|EpisodeTitleSpecification|Episode aired more than 1 day ago
18-10-24 14:04:25.1|Trace|ConfigService|Using default config value for ‘skipfreespacecheckwhenimporting’ defaultValue:‘False’
18-10-24 14:04:25.1|Debug|FreeSpaceSpecification|Skipping free space check for existing episode
18-10-24 14:04:25.1|Debug|SameFileSpecification|No existing episode file, skipping
18-10-24 14:04:25.1|Debug|GrabbedReleaseQualitySpecification|No download client item provided, skipping.
18-10-24 14:04:25.1|Debug|NotSampleSpecification|Existing file, skipping sample check
18-10-24 14:04:25.1|Debug|NotUnpackingSpecification|/pub/Media/Video/Television/One-Punch Man/Season 01/S01E12.mkv is in series folder, skipping unpacking check
18-10-24 14:04:25.1|Debug|UnverifiedSceneNumberingSpecification|Skipping scene numbering check for existing episode
18-10-24 14:04:25.1|Debug|ImportDecisionMaker|File accepted
In this case, S01E12.mkv was accepted, where the S00E02.mkv above was not.