a few questions

Come up with a useful post-processing script? Share it here!
Post Reply
villain
Newbie
Newbie
Posts: 7
Joined: December 26th, 2008, 1:25 am

a few questions

Post by villain »

i've been using sabnzbd for a while and just started to configure some user scripts. a few things i was wondering;

1. is it possible to apply a user script to every item currently in the queue? i have 400+ items currently in my queue so having to apply the user script individually to each item will become tiresome

2. is it possible to add a user script in between the processing? currently I have a user script which does something with the .rar files in each archive which then requires me to delete the .rar files later. something like +R+U user script +D would be great
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: a few questions

Post by markus101 »

1. I'm not aware of being able to modify all items in the queue to add a post-processing script (I've had many items that I needed to do that for, not 400 though).

2. You could build into you script to delete the files after running the script, then have SAB only d R +E then script, it wouldn't be on SAB to then do the deleting, but it should process just fine. If you go this route I would recommend having SAB only run scripts on successful downloads, as it would delete the files if there was some sort of repair/extract problem (unless of course you build some logic to handle this into your script).

Hope that helps get you started.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Post Reply