conditional pause postprocessing in sabnzbd?
Posted: March 18th, 2009, 5:53 pm
Is the a way that i can conditionally pause post processing the jobs.
Some times the post processing (checking, repairing, extracting) takes to much resources while e.g. watching movies.
The time that the post processing should be halted is not long, most of the day the machine has enough resources available, so an extra computer for downloading would be overkill.
I was thinking about something like this, I put up a flag (file, ini entry, registry entry) and when this flag is up sabnzbd does not do post processing, when i take down the flag the post processing starts again and the queue of downloaded items is processed.
I think i have these options:
- Use a standalone script that fires after downloading that checks the flag and do the post processing, preferably using some of the original code from sabnzbd, so that i still can benefit from the auto repair (dowloading of needed repairblocks) function from sabnzbd, if so what is/are the best module(s) to copy from.
- Modify and recompile sabnzbd itself, if so what is the best module to modify
I use the windows platform, and am using python already for some post processing scripts (cleaning/moving/renaming and so on)
Kind regards
Rob.
Some times the post processing (checking, repairing, extracting) takes to much resources while e.g. watching movies.
The time that the post processing should be halted is not long, most of the day the machine has enough resources available, so an extra computer for downloading would be overkill.
I was thinking about something like this, I put up a flag (file, ini entry, registry entry) and when this flag is up sabnzbd does not do post processing, when i take down the flag the post processing starts again and the queue of downloaded items is processed.
I think i have these options:
- Use a standalone script that fires after downloading that checks the flag and do the post processing, preferably using some of the original code from sabnzbd, so that i still can benefit from the auto repair (dowloading of needed repairblocks) function from sabnzbd, if so what is/are the best module(s) to copy from.
- Modify and recompile sabnzbd itself, if so what is the best module to modify
I use the windows platform, and am using python already for some post processing scripts (cleaning/moving/renaming and so on)
Kind regards
Rob.