August 10, 201213 yr I'm experimenting with sabnzbd's pre-processing / pre-queue scripting, according to http://wiki.sabnzbd.org/user-pre-queue-script. I've create a simple python script, just for testing purposes, the only thing it does is return '0' indicating sabnzbd should REFUSE the nzb that in this case, sickbeard offers. The script is saved as 'test.py' in sabnzb's script folder, and is selected as pre-queue script in sab's config. I've made post processing scripts in python before and those gave me no problem, and those were a lot more complex I can see in sabnzbd's logging that it is actually called, and says it accepts the nzb, i dont know why, since i return 0 as in REFUSED? 2012-08-10 14:59:15,592::INFO::[newsunpack:1417] Running pre-queue script ['/mnt/cache/Apps/sabnzbd/scripts/pre.py', 'Breaking.Bad.S05E02.Madrigal.HDTV.x264-FQM', '', 'tvseries', '', '-100', '330523175', 'alt.binaries.multimedia alt.binaries.teevee', '', '', '', ''] 2012-08-10 14:59:15,595::INFO::[newsunpack:1439] Pre-Q accepts Breaking.Bad.S05E02.Madrigal.HDTV.x264-FQM the 'script' itself: #!/usr/bin/env python import os import sys print "0" sys.exit(0) What am i missing here? Is the path to the python runtime ok? The 'script' runs ok from the command line, do i need to do something else to make it work from sabnzb?
Archived
This topic is now archived and is closed to further replies.