Page 1 of 1

E-mail notification on download failure.

Posted: March 1st, 2012, 9:31 pm
by hawaii2000
As far as I can tell, no e-mail notification is sent when a download fails when sabnzbd is unable to create the final folder. Is this true or is there something that can be done to allow notification to occur on this condition. I'm able to receive failure notifications in instances where there are missing par files and I do receive notifications on all successes. But none on the folder creation error.

The target download folder is on a network computer that occasionally goes to sleep and it's at those times when the error occurs. Ideally, I'd like to be able to send a wake-on-lan packet and auto-retry. But I'd certainly settle for a notification so I can manually kick off a restart myself.

I have sabnzbd running on a Windows 7 64-bit with no apparent issues.

Thanks in advance and apologies in advance if this question is easily answered by something I've overlooked (though I did search the forum for this topic).

Version: 0.6.15
OS: Windows 7 Ultimate SP1 64-bit
Install-type: Windows Installer
Firewall Software: Win 7
IPV6? no
Issue reproducible? yes

Re: E-mail notification on download failure.

Posted: March 2nd, 2012, 7:38 am
by shypike
Never really checked this, but your expectation makes sense.
I'll check this out.

Re: E-mail notification on download failure.

Posted: March 2nd, 2012, 6:38 pm
by hawaii2000
Mahalo for checking. If this is expected behavior, here's my vote for making this a feature in a future release. And while I'm wishing, here's another vote for some sort of pre-processing capability (so I can run a batch file to send a wake-on-lan packet to a potentially sleeping computer that needs to wake up). :)

Re: E-mail notification on download failure.

Posted: March 3rd, 2012, 4:11 am
by Eejit
Doesn't pre-processing already exist?
http://wiki.sabnzbd.org/user-pre-queue-script

Re: E-mail notification on download failure.

Posted: March 3rd, 2012, 4:16 am
by shypike
The next release will send the email.

Re: E-mail notification on download failure.

Posted: March 3rd, 2012, 4:23 pm
by hawaii2000
Eejit wrote:Doesn't pre-processing already exist?
http://wiki.sabnzbd.org/user-pre-queue-script
Yes, but this won't help me in this situation because it might be hours before the download is complete and the attempt to create the target completed folder is executed. In that time, the target computer might have gone to sleep. It looks like the main purpose of the pre-queue script is to filter out nzbs that you (for whatever reason) don't want to add to the download queue. I suppose what I'm asking for is a post-processing-on-error script, i.e., the ability to run a script on the occurrence of a particular error. In this case, the ability to loop, say, three times, a wolcmd to wake up the computer followed with a retry command.

Re: E-mail notification on download failure.

Posted: March 3rd, 2012, 4:23 pm
by hawaii2000
shypike wrote:The next release will send the email.
Mahalo!