Page 1 of 1

[SOLVED] [sabnzbd+unraid] Help with PP script

Posted: January 17th, 2012, 7:51 pm
by drawde
hey guys i was wondering if someone could help me with my pp script in unix/unraid. i know how to do this in windows with vbscript (how i'm currently doing it) but i'd like to move sab fully over to my new unraid server. it's relatively simple, i just want the pp script to look go to my download folder and if it sees *x264* in the FOLDERNAME move to /mnt/x264 or if it sees *xvid* move to /mnt/xvid. anything else leave alone.

any ideas? tips? I know how to move files but the foldernames and if/then/elseif in unix is the problem, as well as probably how to put it together.

Re: [sabnzbd+unraid] Help with PP script

Posted: January 18th, 2012, 2:58 am
by shypike
It would be better to write a pre-queue script for this.
Check for x264 in the title and then set a category that will send it to the right location.
More info: http://wiki.sabnzbd.org/user-pre-queue-script

Re: [sabnzbd+unraid] Help with PP script

Posted: January 19th, 2012, 9:09 pm
by drawde
@sphypike

thanks for that. although i didn't do a pre-queue script, i ended up settingup categories for x264 and xvid and split it up that way via my rss feed