I have an issue with two different series: Archer (2009) & Klondike (2014). ND pulls the episodes and SAB downloads them, but then ND can’t recognize the series to do a move/rename. The logs show “Unknown Series Archer 2009” and “Unknown Series Klondike 2014”. The logs then show “Scanning ‘D:\downloads\tv’ for video files” and “0 video files were found in D:\downloads\tv”.
BUT, if I go and change the folder names to “Archer (2009)” & “Klondike (2014)” (i.e., just adding parentheses), ND recognizes, analyzes, moves, and renames the file. So I figured the issue was the parentheses. Based on the response in the mapping request form, however, the special characters don’t appear to be an issue.
So that leaves me a bit stumped… why does adding parentheses cause ND to recognize them and function properly if special characters (e.g., parentheses) aren’t causing the issue?
Thanks in advance!
No issues importing archer episodes without parentheses, please provide full trace logs for further analysis.
14-1-25 20:43:41.1|Trace|CommandExecutor|Publishing DownloadedEpisodesScanCommand
14-1-25 20:43:41.1|Trace|CommandExecutor|DownloadedEpisodesScanCommand -> DownloadedEpisodesImportService
14-1-25 20:43:41.2|Trace|Parser|Parsing string 'Archer 2009’
14-1-25 20:43:41.2|Trace|Parser|Episode Parsed. archer - S20E09
14-1-25 20:43:41.2|Trace|Parser|Language parsed: English
14-1-25 20:43:41.2|Trace|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Archer 2009
14-1-25 20:43:41.2|Trace|Parser|Quality parsed: Unknown
14-1-25 20:43:41.2|Trace|Parser|Release Group parsed: 2009
14-1-25 20:43:41.4|Trace|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Archer 2009
14-1-25 20:43:41.4|Trace|DownloadedEpisodesImportService|Archer 2009 folder quality: Unknown
14-1-25 20:43:41.4|Debug|DownloadedEpisodesImportService|Unknown Series Archer 2009
Conversely, when it works (well, it has some odd issue at the end, but it still moves/renames):
14-1-25 20:47:45.4|Trace|CommandExecutor|DownloadedEpisodesScanCommand -> DownloadedEpisodesImportService
14-1-25 20:47:45.5|Trace|Parser|Parsing string 'Archer (2009)'
14-1-25 20:47:45.5|Trace|Parser|Unable to parse Archer (2009)
14-1-25 20:47:45.6|Trace|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Archer (2009)
14-1-25 20:47:45.6|Trace|DownloadedEpisodesImportService|Archer (2009) folder quality: Unknown
14-1-25 20:47:45.6|Debug|DiskScanService|Scanning ‘D:\downloads\tv\Archer (2009)’ for video files
14-1-25 20:47:45.6|Debug|DiskScanService|1 video files were found in D:\downloads\tv\Archer (2009)
14-1-25 20:47:45.7|Debug|ImportDecisionMaker|Analyzing 1/1 files.
14-1-25 20:47:45.7|Trace|Parser|Parsing string 'Archer 2009 - S05E02.mp4’
14-1-25 20:47:45.7|Trace|Parser|Episode Parsed. archer2009 - S05E02
14-1-25 20:47:45.7|Trace|Parser|Language parsed: English
14-1-25 20:47:45.7|Trace|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Archer 2009 - S05E02.mp4
14-1-25 20:47:45.7|Trace|Parser|Quality parsed: SDTV
14-1-25 20:47:45.7|Trace|Parser|Release Group parsed: S05E02.mp4
14-1-25 20:47:46.5|Trace|ImportDecisionMaker|Size: 124101327
14-1-25 20:47:46.5|Trace|ConfigService|Unable to find config key ‘downloadclientworkingfolders’ defaultValue:'UNPACK|FAILED’
14-1-25 20:47:47.1|Trace|VideoFileInfoReader|Getting media info from D:\downloads\tv\Archer (2009)\Season 5\Archer 2009 - S05E02.mp4
14-1-25 20:47:47.1|Trace|NotSampleSpecification|Runtime is over 90 seconds
14-1-25 20:47:47.2|Trace|EventAggregator|Publishing EpisodeFileDeletedEvent
14-1-25 20:47:47.2|Trace|EventAggregator|EpisodeFileDeletedEvent -> EpisodeService
14-1-25 20:47:47.3|Trace|EpisodeService|Detaching episode 16562 from file.
14-1-25 20:47:47.3|Trace|EventAggregator|EpisodeFileDeletedEvent <- EpisodeService
14-1-25 20:47:47.3|Trace|EpisodeFileMovingService|Moving episode file: [0] D:\downloads\tv\Archer (2009)\Season 5\Archer 2009 - S05E02.mp4 to D:\TV\Archer (2009)\Season 5\Archer (2009) - S05E02 - Archer Vice- A Kiss While Dying.mp4
14-1-25 20:47:47.4|Debug|EpisodeFileMovingService|Moving [D:\downloads\tv\Archer (2009)\Season 5\Archer 2009 - S05E02.mp4] > [D:\TV\Archer (2009)\Season 5\Archer (2009) - S05E02 - Archer Vice- A Kiss While Dying.mp4]
14-1-25 20:47:47.5|Trace|EpisodeFileMovingService|Setting last write time on series folder: D:\TV\Archer (2009)
14-1-25 20:47:47.5|Trace|NlogTextWriter|Attempting PUT to http://exceptron.azurewebsites.net/api/v1/
14-1-25 20:47:51.6|Trace|NlogTextWriter|{“RefId”:“c3d8be7e”,“Ver”:“1.0.0.0”,“Errors”:null}
14-1-25 20:47:47.5|Warn|EpisodeFileMovingService|Unable to set last write time
System.IO.IOException: The process cannot access the file ‘D:\TV\Archer (2009)’ because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.OpenHandle(String path)
at System.IO.Directory.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
at NzbDrone.Common.DiskProvider.SetFolderWriteTime(String path, DateTime time) in m:\buildAgent2\work\328d72309b633a8\src\zbDrone.Common\DiskProvider.cs:line 432
at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.MoveFile(EpisodeFile episodeFile, Series series, String destinationFilename) in m:\buildAgent2\work\328d72309b633a8\src\zbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:line 86
14-1-25 20:47:51.7|Trace|EventAggregator|Publishing EpisodeFileAddedEvent
14-1-25 20:47:51.7|Trace|EventAggregator|EpisodeFileAddedEvent -> EpisodeService
14-1-25 20:47:51.7|Debug|EpisodeService|Linking [D:\TV\Archer (2009)\Season 5\Archer (2009) - S05E02 - Archer Vice- A Kiss While Dying.mp4] > [[16562]Archer Vice: A Kiss While Dying]
Whats the folder name its trying to import, in the failed import its parsing Archer 2009
as Archer - S20E09
(my guess is the folder name is Archer 2009
instead of the release name. The first thing drone does when its processing a folder in drone factory is to determine the series, drone supports files named with 105 or 1005 style numbering (1x05 and 10x05 respectively), so its catching it as described above.
This wiki page goes over the optimal configuration for drone with SABnzbd: https://github.com/NzbDrone/NzbDrone/wiki/Sorting-and-Renaming (namely you’ll want to look at disabling TV renaming in SAB).
Cool, that fixed Archer. Klondike still doesn’t automagically work, but it’s a mini-series so I don’t really care.
I had relied on SAB for naming as SickBeard never worked quite right in my previous setup, but forgot to turn it off for ND.
Thanks for the help markus and for all the work with ND!
Klondike is probably how its being numbered; Part One instead of Part 1 or S01E01.