I have Completed Download Handling turned on. I do not have a Drone Factory path set. NZBDrone sent a NZB to SABnzbd to download. SABnzbd downloaded it and unpacked it. I can see the file sitting in my file system and the path in SABnzbd is correct. NZBDrone won’t import the file. There are no problems reported in the logs. The last thing related to this download in the logs is “Report sent to download client. …”. How do I get NZBDrone to import files?
Are drone and SAB on the same machine?
Enable Debug logs to see why its not imported.
Yes, same machine. Mac running using Mono. I’ve now turned on Debug logs. Will it retry or do I have to download something else?
As long as they are showing in History -> Queue (within the drone UI) drone should try to process them every minute.
Here you go. Looks like it is not doing something correct with the file. Any ideas?
14-6-24 18:27:11.5|Debug|SabnzbdProxy|Url: http://localhost:8080/api?mode=queue&start=0&limit=0&apikey=<removed>&output=json 14-6-24 18:27:11.5|Debug|SabnzbdProxy|Url: http://localhost:8080/api?mode=history&start=0&limit=30&apikey=<removed>&output=json 14-6-24 18:27:11.5|Debug|Parser|Parsing string 'Veep.S02E03.720p.HDTV.x264-NZBgeek' 14-6-24 18:27:11.5|Debug|Parser|Episode Parsed. veep - S02E03 14-6-24 18:27:11.5|Debug|Parser|Language parsed: English 14-6-24 18:27:11.5|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Veep.S02E03.720p.HDTV.x264-NZBgeek 14-6-24 18:27:11.5|Debug|Parser|Quality parsed: HDTV-720p 14-6-24 18:27:11.5|Debug|Parser|Release Group parsed: NZBgeek 14-6-24 18:27:11.6|Debug|Parser|Parsing string 'Veep.S02E03.720p.HDTV.x264-NZBgeek' 14-6-24 18:27:11.6|Debug|Parser|Episode Parsed. veep - S02E03 14-6-24 18:27:11.6|Debug|Parser|Language parsed: English 14-6-24 18:27:11.6|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Veep.S02E03.720p.HDTV.x264-NZBgeek 14-6-24 18:27:11.6|Debug|Parser|Quality parsed: HDTV-720p 14-6-24 18:27:11.6|Debug|Parser|Release Group parsed: NZBgeek 14-6-24 18:27:11.6|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Veep.S02E03.720p.HDTV.x264-NZBgeek 14-6-24 18:27:11.6|Debug|DownloadedEpisodesImportService|Veep.S02E03.720p.HDTV.x264-NZBgeek folder quality: HDTV-720p 14-6-24 18:27:11.6|Debug|DiskScanService|Scanning '/Users/friley/Downloads/complete/Veep.S02E03.720p.HDTV.x264-NZBgeek' for video files 14-6-24 18:27:11.6|Debug|DiskScanService|1 video files were found in /Users/friley/Downloads/complete/Veep.S02E03.720p.HDTV.x264-NZBgeek 14-6-24 18:27:11.6|Debug|ImportDecisionMaker|Analyzing 1/1 files. 14-6-24 18:27:11.6|Debug|Parser|Parsing string 'ah63jka93jf0jh26ahjas961.mkv' 14-6-24 18:27:11.6|Debug|Parser|Episode Parsed. ah63jka93jf0jh26ahjas - S09E61 14-6-24 18:27:11.6|Debug|Parser|Language parsed: English 14-6-24 18:27:11.6|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for ah63jka93jf0jh26ahjas961.mkv 14-6-24 18:27:11.6|Debug|Parser|Quality parsed: HDTV-720p 14-6-24 18:27:11.6|Debug|Parser|Release Group parsed: DRONE 14-6-24 18:27:11.6|Debug|ParsingService|Unable to find ah63jka93jf0jh26ahjas - S09E61 HDTV-720p 14-6-24 18:27:11.6|Debug|ParsingService|No matching episodes found for: ah63jka93jf0jh26ahjas - S09E61 HDTV-720p 14-6-24 18:27:11.6|Debug|TaskManager|Updating last run time for: NzbDrone.Core.Download.CheckForFinishedDownloadCommand 14-6-24 18:27:11.6|Debug|TaskManager|Updating last run time for: NzbDrone.Core.MediaFiles.Commands.DownloadedEpisodesScanCommand
I’ve had a look at the code, and it looks like it’s doing a bunch of regex’ing on the file name, which is broken for this case. I’m guessing the regex’ing is because it’s code reuse from the Drone Factory way of importing? Wouldn’t it be much simpler and way less error prone to use the NZB name? NZBDrone knows the NZB name it sent to SAB (along with all of the series, season, etc info). The SAB query returns the NZB name. Can’t we just match the two up that way?
It still needs to process the files within. Hashed releases such as this cause issues, but fixing that wasn’t the intention of this change.
Renaming the file to match the folder name will allow it to import.
And yet another hash format, will add it to the hash check algo.
Thanks guys. Appreciate the help.
Can you give me the diff to fix this? I’d like to apply this. It’s happening on all these episodes.
Excellent. Thank you.