Page 1 of 1

Will a failed unpack stop execution of postprocessing script?

Posted: February 24th, 2010, 10:58 am
by Shady
Will failed verify/repair/unpack stop the execution of the postprocessing script?
Also, if not is it possible to turn this off somewhere?
If it is possible, is also possible for the postprocessing script to ask the SABNZBD history api if unpack/repair etc went okay during the time it is executed?

Thanks

Re: Will a failed unpack stop execution of postprocessing script?

Posted: February 24th, 2010, 12:48 pm
by shypike
The option "Postprocess only verified jobs" in Config->Switches
determines if the script is run.
Even if it's off, your script will get the status parameter to tell the verification result.
See: http://wiki.sabnzbd.org/user-scripts

Re: Will a failed unpack stop execution of postprocessing script?

Posted: February 25th, 2010, 3:33 pm
by Shady
Thanks, awesome feature!
That will help prevent my program from deleting rar's that are not yet unpacked. :)
I hope you don't mind i took a look at the RAR regex from sabnzbd to identify rar files and use it in my program to ensure cleanup of rars will be the same.

Re: Will a failed unpack stop execution of postprocessing script?

Posted: February 25th, 2010, 6:19 pm
by shypike
He man, it's Open Source.