Page 1 of 1

When a download fail Post-Processing Script get executed

Posted: December 10th, 2009, 5:03 pm
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\ 

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

Posted: December 10th, 2009, 5:26 pm
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.

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

Posted: December 11th, 2009, 3:45 am
by shypike
The Wiki hasn't been fully updated for 0.5.0 yet.
0 = success
1 = failure

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

Posted: December 11th, 2009, 7:51 am
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.