Page 2 of 2

Re: pre queue script JAVA problem

Posted: October 3rd, 2012, 6:42 pm
by dreamscene
That sab accepts the NZB whenever the script does not exit with 0 is understood. Which makes the situation with the above mentioned script (sab refusing every NZB with default/empty category) even stranger.
Adapting the script to test for an empty variable and setting a pseudo value was no problem at all.
But in order to learn, I try to understand why things happen the way they do.

Guess we'll never know. Anyway - thanks for indulging me on my "journey" :)

P.S.: What do you mean with "debug sabnzbd"? Setting the logging level to debug does not yield any more relevant log entries concerning pre-queue scripts than the default level. That was the first thing I did :)

Re: pre queue script JAVA problem

Posted: October 4th, 2012, 12:23 am
by shypike
I meant adding more logging to the source code.
To see what actually comes back from the script...