Page 1 of 1

Remove all queued items from pre-script

Posted: January 12th, 2012, 8:08 am
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.

Re: Remove all queued items from pre-script

Posted: January 12th, 2012, 10:09 am
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"