Page 1 of 1
Watch Folder: Stop it from deleting NZB's?
Posted: January 19th, 2013, 8:31 pm
by charybshawn
Is it possible to stop sabnzbd from deleting nzb's that are added to the watch folder? I've searched extensively but couldn't find any info on this.
I have multiple instances of sabnzbd using a dropbox folder as a watch folder and want them all to grab the nzb.
Re: Watch Folder: Stop it from deleting NZB's?
Posted: January 20th, 2013, 3:19 am
by shypike
No options for that now.
It's tricky, because a potentially large administration would be needed.
One that would, should it ever fail, fill up your queue with old jobs.
Re: Watch Folder: Stop it from deleting NZB's?
Posted: January 20th, 2013, 2:31 pm
by charybshawn
I have a partial workaround but its not complete. I have two folders in dropbox one labeled master and one slave. The master sabnzbd server pulls nzbs from the master folder (either /tv or /movies) and then deletes them. It then places a copy of the original nzb using the nzb backup folder into the slave folder. But I can't get it to put the nzb in the category of /tv or /movies in the slave folder. I bet it can be done using a pre-queue script but I'm not familiar enough with scripting yet to do that.
Re: Watch Folder: Stop it from deleting NZB's?
Posted: January 20th, 2013, 4:22 pm
by shypike
You can use the pre-queue script though, assuming you know the NZB path.
You can set the NZB read-only just before SABnzbd wants to delete it.
For Windows it would be this:
Code: Select all
@echo off
rem Strip quotes from nzb name
set name=%1
set name=%name:"=%
rem Make nzb read-only
attrib +r "d:\dropbox\nzb\%name%.nzb"
rem Approve nzb
echo 1
Re: Watch Folder: Stop it from deleting NZB's?
Posted: January 21st, 2013, 7:54 pm
by charybshawn
Thank you, that did work.