I’d just rather they could be handled automatically via my post-processing script. As a result, they can’t be downloaded via Sonarr’s built-in mechanisms.Īs a “workaround”, I can activate the Drone Factory and dump the files in there manually. I download a lot of TV shows from the homeland that aren’t of interest to the Interwebs at large and can only be had from private trackers. In my case it is “the last stage in a pp-script of a specific download”. It works okay if I pass the path to a folder whose basename corresponds to a show Sonarr knows about-it then processes any files within that folder-but that isn’t much help in post-processing single episodes (which are rarely wrapped in a folder). Is this a bug, or have I misunderstood something?Īs noted, when I pass the path of the actual video file, Sonarr complains that it isn’t a folder. I’ve also tried specifying the full path to the video file in question, but Sonarr complains that it isn’t a folder. I’m afraid I don’t have the C# chops, or knowledge of the codebase, to trace the call further than DownloadedEpisodesCommandService.cs (which appears to be perfectly correct to me). (The directory exists and contains media files Sonarr understands.)Īnd the trace log is: 15-10-6 20:49:59.6|Trace|CommandQueueManager|Publishing DownloadedEpisodesScanġ5-10-6 20:49:59.6|Trace|CommandQueueManager|Checking if command is queued or started: DownloadedEpisodesScanġ5-10-6 20:49:59.6|Trace|CommandQueueManager|Inserting new command: DownloadedEpisodesScanġ5-10-6 20:49:59.6|Trace|CommandExecutor|DownloadedEpisodesScanCommand -> DownloadedEpisodesCommandServiceġ5-10-6 20:49:59.6|Trace|CommandQueueManager|Marking command as started: DownloadedEpisodesScanġ5-10-6 20:49:59.6|Debug|Parser|Parsing string 'TV'ġ5-10-6 20:49:59.6|Debug|Parser|Unable to parse TVġ5-10-6 20:49:59.7|Debug|DownloadedEpisodesImportService|Unknown Series TVġ5-10-6 20:49:59.7|Trace|CommandQueueManager|Updating command statusġ5-10-6 20:49:59.7|Trace|EventAggregator|Publishing CommandExecutedEventġ5-10-6 20:49:59.7|Trace|EventAggregator|CommandExecutedEvent -> TaskManagerġ5-10-6 20:49:59.7|Trace|TaskManager|Updating last run time for: .DownloadedEpisodesScanCommand What I really don’t understand is why this path works perfectly if it’s the Drone Factory path (and no path is given in the API call), but not when passed to the API as the path parameter. However, if a valid path is specified, Sonarr apparently accepts the path and-at some point-appears to strip it to its basename and then chokes on that (invalid) path. It also logs an error if an invalid path is sent to the API. It works perfectly when a Drone Factory path is set and no path parameter is specified in the API call. I’ve tried a couple of ways of calling the API method DownloadedEpisodesScan. I’m using the latest version of Sonarr available via Homebrew on El Capitan. Excuse me if I’ve misunderstood the API: I’ve only been using Sonarr for a couple of days.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |