For some jobs the result-dir, nzb-name and nice-name are missing the double quotes which causes issues with my scripts.
Job name causing trouble contain underscores and square brackets.
Jobs with space in their name do get double quotes. Are quotes only added when needed?
This happens with SABnzbd 0.60 on Windows 7 x64.
User Scripts parameters missing double quotes
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.
User Scripts parameters missing double quotes
Last edited by barlow on May 15th, 2011, 4:24 am, edited 1 time in total.
Re: User Scripts parameters missing double quotes
Quotes are only added when needed.
That's when spaces, ampersands or semicolons are present.
That's when spaces, ampersands or semicolons are present.
Re: User Scripts parameters missing double quotes
I see. Must be the script not liking some characters then.
But "%~1" seems to work well (to make sure there is only one set of double quotes).
But "%~1" seems to work well (to make sure there is only one set of double quotes).