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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
drawde
Newbie
Newbie
Posts: 11
Joined: January 17th, 2012, 6:34 pm

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

Post 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.
Last edited by drawde on February 9th, 2012, 12:07 pm, edited 1 time in total.
unRAID 4.7 Pro: ASUS M4A88T-M | AMD Sempron 145 Sargas @ 2.8GHz | 1GB DDR3 SDRAM 1066 (PC3 8500) RAM | Antec NEO ECO 620C 620W PSU | NETGEAR gigE
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: [sabnzbd+unraid] Help with PP script

Post 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
drawde
Newbie
Newbie
Posts: 11
Joined: January 17th, 2012, 6:34 pm

Re: [sabnzbd+unraid] Help with PP script

Post 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
unRAID 4.7 Pro: ASUS M4A88T-M | AMD Sempron 145 Sargas @ 2.8GHz | 1GB DDR3 SDRAM 1066 (PC3 8500) RAM | Antec NEO ECO 620C 620W PSU | NETGEAR gigE
Post Reply