I'm brainstorming ideas for how to get sabnzbd to start certain nzb's paused. Ideally, I think I'd like to be able to put a tag on the filename, like you can do to set rar passwords. That way, categories would still work. Is anything like this possible? Or am I barking up the wrong tree?
For context, I'm working on a script that will check the articles in an nzb to see if it's complete before downloading. sab doesn't have preprocessing scripts, so this would have to run before copying the nzb to the watch dir.
But, I don't have many good ideas for what to do if the nzb fails the completeness check. I could just not give it to sab. But then it's a mystery -- "What happened to my nzb? Should I d/l it again? etc" Better to me would be to have it in sab, but marked as bad, or paused or something. Then you could decide to find another nzb, add an nzb with pars (in future sab version), or wait until articles have propagated.
Pause some nzb's from watch dir
Forum rules
Help us help you:
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.
Re: Pause some nzb's from watch dir
Maybe you should consider the SABnzbd API? It gives you much more control over NZBs: put in queue, pause, etc. See http://wiki.sabnzbd.org/api
@ NZB-pre-checking: a very good idea! What have you implemented so far? And have you seen http://forums.sabnzbd.org/index.php?topic=5074.0 ?
EDIT:
some more API stuff: http://wiki.sabnzbd.org/automation-support
@ NZB-pre-checking: a very good idea! What have you implemented so far? And have you seen http://forums.sabnzbd.org/index.php?topic=5074.0 ?
EDIT:
some more API stuff: http://wiki.sabnzbd.org/automation-support
Last edited by sander on February 1st, 2011, 2:45 pm, edited 1 time in total.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Pause some nzb's from watch dir
Release 0.6.0 will have a pre-queue script
and the the pseudo-priority "paused" for RSS entries.
and the the pseudo-priority "paused" for RSS entries.
Re: Pause some nzb's from watch dir
Great, the additions to 0.6.0 sound like exactly what I'll need. The api could probably work too -- I could add the nzb, then immediately pause it.
sander, I have seen that script, in fact it was part of my inspiration. I wanted to write the same thing in Clojure (because it's my current pet language) but I'll have to see how Clojure's startup time affects things. I may end up rewriting in Python. Currently, I have it checking each file and outputting a list of filename, complete, and total parts. Condensing that into a thumbs up/thumbs down should be easy, but figuring out how to deal with .par2 files might be hard. It seems like people aren't using the same segment size for par2's as for posts, so there isn't a one to one relationship.
sander, I have seen that script, in fact it was part of my inspiration. I wanted to write the same thing in Clojure (because it's my current pet language) but I'll have to see how Clojure's startup time affects things. I may end up rewriting in Python. Currently, I have it checking each file and outputting a list of filename, complete, and total parts. Condensing that into a thumbs up/thumbs down should be easy, but figuring out how to deal with .par2 files might be hard. It seems like people aren't using the same segment size for par2's as for posts, so there isn't a one to one relationship.

