What post-processing do you want SAB to do?
Here's how I have my stuff set up, and it works great with SickBeard, CouchPotato, and HeadPhones
- In the plugins GUI, mount your zfs pools so that they're available to your plugins. Note where you mounted them.
- In SAB, set the download directory to somewhere in the mount where you want to save stuff (in my case, /mnt/public/downloads, because I'm boring like that). While you're in here, set the file permission mask to 777 (technically unnecessary since the 0.9 PBIs, but still useful)
- Still in SAB, setup a watch folder if you want to have "blackhole" support (SB/CP/HP should use the API, but this is useful for one-off downloads).
- Still in SAB, add your categories as desired (Music, Movies, TV), give them folder names, and don't set any scripts. SAB will automatically create these folders in the download directory as needed, and will watch for subfolders in the blackhole to set categories that way. For example, if your blackhole is on /mnt/public/nzbs and you have a category of Movies with a folder defined of the same name, any nzb file put into /mnt/public/nzbs/Movies will download with "Movies" as its category. API users don't need to worry about the blackhole folder, but the categories do need to be set up.
That's it for SAB processing. For the rest, I use the built-in post-processing for SB/CP/HP and it works quite well. Just set your watch folder to the appropriate downloads/category folder, set your category appropriately, and enable whatever post-processing you want (you may want to change file permission masks for these as well, and for some you may have to do it from the config file rather than the GUI). The workflow will then look like:
- SB/CP/HP finds something it wants to download and sends that to SAB via the API and with the correct category
- SAB downloads the file and the only post-processing it does is repairing/unpacking into the download/category folder
- Once SAB completes, SB/CP/HP detect the new folder in the watch directory they're watching and run their post-processing, copying the files into your final destination and renaming them appropriately.
Because each category goes to a different root folder, you don't get SB/CP/HP stepping on each other (you're not downloading Movies with SB, you're not downloading Music with CP, you're not downloading TV with HP, etc).