Hello,
I just upgraded from 0.7.20 and it seems the prgram is not looking into the program directory anymore for an INI file.
Referring to FAQ "How do I run SABnzbd as a portable/self contained program?" it should do.
When I use the -f switch the correct INI is used and works but when I double-click a NZB file it will call the program with the INI from the user dir which is unwanted behaviour. I even deleted the ini from the user dir but the program only generates a new one if I call a NZB file.
Using 1.0.3, installed with the installer on Win7 x64.
Is there any way around this behaviour?
Malaach
Not looking for INI in program dir anymore?
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.
Re: Not looking for INI in program dir anymore?
Use the batch file portable.cmd to start SABnzbd.
It's in the same folder as SABnzbd.exe
It's in the same folder as SABnzbd.exe
Re: Not looking for INI in program dir anymore?
Well, that solution lets the cmd-window stay which isn't desirable. So I altered the file contents as follows:
That way the cmd-window disappears after the application start.
Is there no way to restore the old (and still documented!) behaviour? It was perfect before, now it's just some ugly-looking workaround.
Malaach
Code: Select all
start "SABnzb" /MIN %~dp0SABnzbd.exe -f %~dp0 %1 %2 %3 %4 %5 %6 %7 %8 %9
exitIs there no way to restore the old (and still documented!) behaviour? It was perfect before, now it's just some ugly-looking workaround.
Malaach
Re: Not looking for INI in program dir anymore?
Good tip, I'll change the script.
We removed the old behaviour because it caused issues for other people.
An alternative is to change the shortcut that you use to start SABnzbd.
We removed the old behaviour because it caused issues for other people.
An alternative is to change the shortcut that you use to start SABnzbd.
Re: Not looking for INI in program dir anymore?
Updated the Wiki.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

