Remove all queued items from pre-script

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
atmorell
Newbie
Newbie
Posts: 1
Joined: January 11th, 2012, 5:02 am

Remove all queued items from pre-script

Post by atmorell »

Is it possible to cancel/remove all downloads from a pre-script? (sabnzbd 0.6.4, OSX Lion) Each time I submit a download I want everything to be wiped, so theres is only one file downloading. Doing some streaming, so don't need the files anymore when a new NZB has been submitted.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Remove all queued items from pre-script

Post by shypike »

Yes, you can.
You will have to make a call to a tool like curl or wget to invoke the proper API.

Code: Select all

curl "http://server:port/sabnzbd/api?mode=queue&name=delete&value=all&apikey=BLABLA"
Post Reply