I recently created a pre-processing script and set it in the settings of sabnzbd:
I set the correct rights:
Also I checked for syntax errors on http://www.shellcheck.net/ and tested the script with custom parameters.
However, the shell script isn't executed at all - not even my log is created. Even after a restart of Sabnzbd nothing happens.
This is my code: http://pastebin.com/DdDRZU6c
Any idea whats wrong?
Regards
[SOLVED] Pre-Processing Script isn't used
Forum rules
Help us help you:
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.
[SOLVED] Pre-Processing Script isn't used
Last edited by HashWorks on March 15th, 2014, 3:44 am, edited 1 time in total.
Re: Pre-Processing Script isn't used
Did you make the script executable (chmod +x)?
Did you select the script for the nzb?
Did you select the script for the nzb?
Re: Pre-Processing Script isn't used
Yes, the script is executable as I already said in my first post: -rwxrwxr-xshypike wrote:Did you make the script executable (chmod +x)?
Did you select the script for the nzb?
I selected the PRE script in die settings of Sabnzbd. Do I need to select it somewhere else?
Each category has another post-script btw.
PS: sabnzbd.log is empty as well.
EDIT: I found it! Windows line breaks in file, executed dos2unix and it works...