Page 1 of 1

Do not Launch Browser on Startup

Posted: March 16th, 2025, 1:33 pm
by SteveS801
I have unchecked "Launch Browser on Startup" and then save the page, but as a matter of fact, I must uncheck it every time SABnbzd starts. Because it does in fact open a browser window. Any help is appreciated.

Version: 4.4.1 [d897936]
Ubuntu 24.04.2

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 1:41 pm
by sander
SteveS801 wrote: March 16th, 2025, 1:33 pm I have unchecked "Launch Browser on Startup" and then save the page, but as a matter of fact, I must uncheck it every time SABnbzd starts. Because it does in fact open a browser window. Any help is appreciated.
After you do that (so: uncheck "Launch Browser on Startup" ), and exit SABnzbd, what does this say:

Code: Select all

$ cat ~/.sabnzbd/sabnzbd.ini | grep -i browser
auto_browser = 1

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:19 pm
by SteveS801
sander wrote: March 16th, 2025, 1:41 pm

Code: Select all

$ cat ~/.sabnzbd/sabnzbd.ini | grep -i browser
auto_browser = 1
auto_browser = 0

But the browser is still launched.

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:30 pm
by sander
OK, good.

And check the sabnzb.log like this:

Code: Select all

$ cat ~/.sabnzbd/logs/sabnzbd.log | grep -i browser
2025-03-15 09:46:33,193::INFO::[panic:239] Launching browser with http://127.0.0.1:8080
2025-03-16 20:25:09,503::INFO::[panic:239] Launching browser with http://127.0.0.1:8080
2025-03-16 20:26:39,626::INFO::[panic:239] Launching browser with http://127.0.0.1:8080

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:36 pm
by SteveS801
sander wrote: March 16th, 2025, 2:30 pm OK, good.

And check the sabnzb.log like this:
2025-03-16 20:18:06,339::INFO::[sabnzbdplus:1157] Arguments = "/usr/bin/sabnzbdplus" "--browser" "1"
2025-03-16 20:18:06,739::INFO::[panic:239] Launching browser with http://127.0.0.1

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:40 pm
by sander
ah ... so from the commandline sabnzbd is starting the webbrowser: "--browser" "1"!

So find where that command is coming from.

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:41 pm
by SteveS801
I don't understand. I set it in settings not to open and it doesn't obey the settings?

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:42 pm
by sander
SteveS801 wrote: March 16th, 2025, 2:41 pm I don't understand. I set it in settings not to open and it doesn't obey the settings?
The setting is overruled by the commandline parameter. So take care of that.

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 2:52 pm
by SteveS801
sander wrote: March 16th, 2025, 2:42 pm
The setting is overruled by the commandline parameter. So take care of that.
Thanks, I found it.

For anyone else reading and having the same issue: I pinned the program to the panel, but it had a command line parameter set. Just right click the main program icon from the menu and go to Properties, then edit

Code: Select all

--browser 1
to '0'

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 3:11 pm
by sander
SteveS801 wrote: March 16th, 2025, 2:52 pm
sander wrote: March 16th, 2025, 2:42 pm
The setting is overruled by the commandline parameter. So take care of that.
Thanks, I found it.

For anyone else reading and having the same issue: I pinned the program to the panel, but it had a command line parameter set. Just right click the main program icon from the menu and go to Properties, then edit

Code: Select all

--browser 1
to '0'
Just leave it out. Otherwise it will still overwrite what's in sabnzbd.ini (if you ever change it)

Re: Do not Launch Browser on Startup

Posted: March 16th, 2025, 3:12 pm
by SteveS801
That's probably a better solution