Sometimes after downloading something SABbnzbd will take forever to verify or try repairing something that I know (by that time) that the download cannot be repaired. For example when downloading a season of something and it will fail verifying the first episode I look into the temp folder and the files are too small. So I'd like to cancel the post processing and delete the temp files.
Yes, I know I can shutdown SABnzbd and delete the files, but that's not really a comfortable solution. I guess implementing this wouldn't take too much effort. Kill the PAR2 process and delete the files. Done.
Thank you so much for your time.
Option to cancel verification / repair
Re: Option to cancel verification / repair
Given that SABnzbd is a multi-platform application, it's quite a bit of work.barabbas wrote: I guess implementing this wouldn't take too much effort. Kill the PAR2 process and delete the files.
You can lookup the par2 process in the Windows task manager and kill it yourself.
Re: Option to cancel verification / repair
Sorry, might've underestimated how complicated this would be. I never used python, but in Java or C#/Mono I would start a process and let the interpreter do the rest. Killing the process would work on any system just by calling p.abort() or something. Using the Task Manager will have to to. Thanks for your reply!
Re: Option to cancel verification / repair
The Python library has send_signal and abort commands for sub-processes.
That would be an easy solution.
However, that would also mean that we must drop support for Python 2.5.
We're not ready for that yet, especially since the Windows binary is still based on it.
That would be an easy solution.
However, that would also mean that we must drop support for Python 2.5.
We're not ready for that yet, especially since the Windows binary is still based on it.