in my ever working pre que script, i added the following line
- Code: Select all
found=$(java -jar "/boot/sabnzbduserscripts/tvshowcheck.jar" "$1" "get")
if i run the script manually, i get the desired output from the java program( found:YES or NO).
However if Sabnzbd runs the script, it simply outputs (found:) ant the script thinks it refueses the download.
2012-02-23 23:41:33,535::INFO::[newsunpack:1406] Running pre-queue script ['/usr/bin/ionice', '-c3', '/boot/sabnzbduserscripts/preProcess.sh', 'Seinfeld - 6x23 - The Face Painter', '3', 'tv', 'tvshowCompleteScript.sh', '1', '802432088', 'alt.binaries.tv.deutsch alt.binaries.ath alt.binaries.hdtv.german alt.binaries.teevee alt.binaries.cavebox', 'Seinfeld', '6', '23', 'The Face Painter']
2012-02-23 23:41:33,550::INFO::[newsunpack:1426] Pre-Q refuses Seinfeld - 6x23 - The Face Painter
there is no problem in the JAVA part, but how can i get my output back and why does the script think i refused the download?





