Failed Download Handling

Hey i noticed on Updates page there was a cool new feature added to handle failed downloads and try to regrab them but things are a little odd and i assume this feature is the cause

last two days i have been getting a couple passworded episodes i get the usual warning in sabnzbd and looking on the history page it has a red cloud saying download failed however the episodes have still been added to their correct folders and there is no trace of them in sabnzbd is this feature removing dead downloads from the queue then downloading another copy of the episode but not adding it to the complete history in sabnzbd

not that i am complaining my episodes are still in the folders and i play them and they play fine however just curious if i only see one grabbed and sent to sab and that fails then how are these episodes ending up in the folders

Basically can someone explain the process of how the feature works

Failed downloading currently only works with SAB (which you’re using, but putting that out there for anyone else reading).

There are a couple components that make up the failed download handling process:

  1. Check SABnzbd Queue and History for failed downloads

    1. Queue - Encrypted (passworded) as detected by SAB

    2. History - Failed, whatever the reason, not enough to repair or extraction failed
      When drone finds a failed download it starts processing them and does a couple things:

    3. Adds a failed event to drone’s history

    4. Removes the failed download from SAB to free space (opt out)

    5. Starts searching for a replacement file (opt out)

  2. Blacklisting
    Allows automatic skipping of nzbs when they fail, this means that nzb will not be automatically downloaded by drone ever again (You can still force the download via a manual search).

There are 3 advanced options (on Media Management) that control the behavior of failed downloading in drone, at this time, they are all on by default.

Enable - Turns the checking of SAB and the blacklist functionality on or off
Redownload - Controls whether or not drone will search for the same episode after a failure
Remove - Whether or not the download should automatically be removed from SAB when the failure is detected

I’ve updated the WIKI with this same response, which should be easier to find when this thread sinks down: https://github.com/NzbDrone/NzbDrone/wiki/Failed-Download-Handling

I’m curious, how does Drone handle failed downloads in SAB that CouchPotato (or another system) put there?

It doesn’t, it will just ignore them.

What I thought, but wasn’t 100% sure of the logic you used when checking. :slight_smile:

A further suggestion for failed downloads, although I have no idea how to handle it from a logic point (excessive remaining time maybe?) is to watch for ‘stuck’ downloads.

Every so often I get a download, usually movies, but some tv eps too, the download will just get stuck in Sab’s que, but won’t actually be downloading anything. I’m assuming it’s DMCA take downs that are causing it.

Adding it to Trello, I like the idea, but it may prove difficult to handle. The work around right now would be to manually remove it and mark the history item as failed (in drone), which will kick off the failed download process.