When a download fail Post-Processing Script get executed

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
MageMinds
Release Testers
Release Testers
Posts: 73
Joined: August 14th, 2008, 6:37 am

When a download fail Post-Processing Script get executed

Post by MageMinds »

Hi,

When a download fail even if the option "Post-Process Only Verified Jobs" is checked the User Post-Processing script get fired. In my case I make extensive cleanup and all my rar file get deleted, because my script assume that the download was successful and the files are unrared. I know I should not make assumption, it's a bad habit ... :-)

MageMinds

Code: Select all

Download
    Downloaded in 18 minutes 52 seconds at an average of 1.06 MB/s
Repair
    [title] Quick Check OK
Unpack
    No post-processing because of failed verification
Script
    ================================================================================================================================================= (More)
Category
    tv
Path
    F:\downloads\Newsgroups\complete\TV\title\_FAILED_title\ 
Last edited by MageMinds on December 11th, 2009, 7:54 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: When a download fail Past-Processing Script get executed

Post by shypike »

I don't know which version you are using, but 0.5.0 has a %7 or $7 indicating the status.
However, with "safe post proc" the script shouldn't run.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: When a download fail Past-Processing Script get executed

Post by shypike »

The Wiki hasn't been fully updated for 0.5.0 yet.
0 = success
1 = failure
MageMinds
Release Testers
Release Testers
Posts: 73
Joined: August 14th, 2008, 6:37 am

Re: When a download fail Past-Processing Script get executed

Post by MageMinds »

Thanks I will update my script... I'm using version 0.5.0 since the first few Alpha and now using Beta3 and 0.5.0 is awesome since the first day I've tried it.

One thing is missing though, the ability to copy a nzb file over a slow connection (read VPN) to the watched folder, sometimes that works (if the file get copied before the next checking cycle) but other times that fail and my nzb never get downloaded and I have an error in the log.
Last edited by MageMinds on December 11th, 2009, 8:03 am, edited 1 time in total.
Post Reply