Page 1 of 1

[SOLVED] _FAILED_ tagged downloads

Posted: April 5th, 2010, 6:56 pm
by tret
In previous versions of SABnzbd any download that wasn't downloaded properly or didn't extract properly, etc. would be tagged as having failed and this made it easy to deal with failed downloads in post processing scripts. In the current versions certain failures will result in the download dir being tagged with _FAILED_ but some others will be left untagged. Is there nya way to change this behavior or use another method for dealing with _FAILED_ downloads in post processing?

Rob

Re: _FAILED_ tagged downloads

Posted: April 5th, 2010, 10:50 pm
by tret
So I discovered that SABnzbd passes the download status to python via sys.argv[7]. It looks as though it passes 0 for a successful job and 1 if there were any failures. Looks like this will work fine.

Rob