Add to queue in paused state?

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
eddy
Newbie
Newbie
Posts: 4
Joined: June 7th, 2011, 12:35 pm

Add to queue in paused state?

Post by eddy »

Greetings! First, thanks to the devs for the terrific 'sabnzbd' tool!

I'm wondering if I overlooked something in the API that would allow me to add an nzb in the "Paused" state, so that it would have to be manually started? Some searches revealed references to setting the (hidden) "size_limit" preference to a low number, but that pauses everything... I'm looking for an option to the "add" interface that sets the state to "paused" on a per-nzb basis.

Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Add to queue in paused state?

Post by shypike »

It's not really a documented feature, but at NZB adding time you add the priority -2.
eddy
Newbie
Newbie
Posts: 4
Joined: June 7th, 2011, 12:35 pm

Re: Add to queue in paused state?

Post by eddy »

Ah, fantastic. Thanks for the quick reply. Glad that feature is there, even if it's "undocumented". :)
eddy
Newbie
Newbie
Posts: 4
Joined: June 7th, 2011, 12:35 pm

Re: Add to queue in paused state?

Post by eddy »

OK, another question... the 'priority=-2' parameter is working great to add nzb's to the queue in the paused state.

However, I had a schedule event set up for "2:00 Daily - Resume"... but this morning, the paused nzb's are still sitting there.

Is there no way to un-pause everything in the queue via the "Scheduling" interface? Or do I need to include an argument to Resume action?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Add to queue in paused state?

Post by shypike »

Resume only applies to the overall paused state, not to individual items.
These are not affected by the schedule.
You'd need an external program using the API for that.

BTW: what's the use of entering the jobs in paused mode
if you want to control it with the overall pause any way?
eddy
Newbie
Newbie
Posts: 4
Joined: June 7th, 2011, 12:35 pm

Re: Add to queue in paused state?

Post by eddy »

OK, at least that explains why it's not working like I expected.

As a "feature enhancement", a scheduling option to resume any queued-but-individually-paused nzb's would be great (i.e. "Start All").

For my usage, during the day, I need the queue "unpaused" to be able to download certain small files normally, but have other files that are added to the queue be inserted in the "paused" state (as described above) so they can be downloaded later... and I was hoping to accomplish that via the built-in scheduler.
voggers
Release Testers
Release Testers
Posts: 4
Joined: March 6th, 2009, 8:42 am

Re: Add to queue in paused state?

Post by voggers »

I´m after the same feature myself (an resume-all schedule).

Normally I never touch the schedule...but since I´m living in a country that uses on/off peak:
I would queue up big downloads (large amount of GB), and pause them. Then ideally the scheduler would start them at night.

Doing it this way my normal downloads won´t be affected, as I only manually pause large-sized downloads.
Post Reply