Not looking for INI in program dir anymore?

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
Malaach
Newbie
Newbie
Posts: 3
Joined: July 11th, 2016, 4:17 pm

Not looking for INI in program dir anymore?

Post by Malaach »

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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Not looking for INI in program dir anymore?

Post by shypike »

Use the batch file portable.cmd to start SABnzbd.
It's in the same folder as SABnzbd.exe
Malaach
Newbie
Newbie
Posts: 3
Joined: July 11th, 2016, 4:17 pm

Re: Not looking for INI in program dir anymore?

Post by Malaach »

Well, that solution lets the cmd-window stay which isn't desirable. So I altered the file contents as follows:

Code: Select all

start "SABnzb" /MIN %~dp0SABnzbd.exe -f %~dp0 %1 %2 %3 %4 %5 %6 %7 %8 %9
exit
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
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Not looking for INI in program dir anymore?

Post by shypike »

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.
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Not looking for INI in program dir anymore?

Post by safihre »

Updated the Wiki.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply