Hi,
I'm developing a python post-processing script to auto-download subtitles. The thing is that is very hard to test since this call is only executed once a download is completed.
Is there a way to simulate a completed download or a post-processing script call?
If not, how can I re-add something already downloaded to make SABnzbd to "finish" it again in order to run the script? (without downloading it again of course)
Thanks
How to simulate post-processing?
Re: How to simulate post-processing?
Just make sure you have a folder that contains files downloaded by SABnzbd,
without the script.
Then run the script from the command line with the right parameters.
without the script.
Then run the script from the command line with the right parameters.
Re: How to simulate post-processing?
Yes, but what I want to test is exactly that, which parameters are being send by SABnzbd. I know they're described here: http://wiki.sabnzbd.org/user-scripts.
If I download and set the processing to just Download, move everything to my temporary download folder and re-add the job using queue repair, that should complete the job again without re-downloading everything right? I'll give this a try.
Thanks
If I download and set the processing to just Download, move everything to my temporary download folder and re-add the job using queue repair, that should complete the job again without re-downloading everything right? I'll give this a try.
Thanks
Re: How to simulate post-processing?
You can see the exact parameters passed in (info of debug level) logging too, any small job with a post-proc script set would give you a real life example.

