conditional pause postprocessing in sabnzbd?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
rvank
Newbie
Newbie
Posts: 16
Joined: November 1st, 2008, 6:41 pm
Location: Oslo - Norway

conditional pause postprocessing in sabnzbd?

Post by rvank »

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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: conditional pause postprocessing in sabnzbd?

Post by shypike »

Planned for a later release.
Post Reply