funny behaviour with a remote listening host filled out

Report & discuss bugs found in 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
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

funny behaviour with a remote listening host filled out

Post by sander »

I doubt wether this is a bug or just funny behaviour: with a remote host filled out as "SABnzbd Host", starting SAB will lead to only opening a webbrowser to that remote website.

So, to reproduce with SAB 0.6.15 on Ubuntu:
SAB installed on local system. Configured to open a browser at start up.
A remote system, let's say remote.domain.com, possibly running SAB too
On the local system, change "SABnzbd Host" or the first occurence of host in sabnzbd.ini to 'remote.domain.com'. Then start SABnzbd ... it will open a browser with a connection to remote.domain.com. If SAB is running on that system, the browser will show that SAB. I would say this is unwanted behaviour.

Expected behaviour: the local SAB should say "Sorry, I can't start SAB on remote.domain.com."

Oh, this leads to my old request: change to GUI form for "SABnzbd Host" to a dropdown list: localhost, 0.0.0.0, or :: . Just like in the SAB wizard with the radio button: local or network listening. Something for 0.7.0?
That will also take care of people incorrectly filling out their newsserver in that parameter. And the 0.1% people that want to fill out a specific interface (and know what they're doing) can manually edit sabnzbd.ini


Code: Select all

sander@R540:~/SABnzbd-0.6.15$ ./SABnzbd.py 
sander@R540:~/SABnzbd-0.6.15$ Created new window in existing browser session.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: funny behaviour with a remote listening host filled out

Post by shypike »

If you ask it to do stupid things, it will do stupid things.
There 's a limit to the amount of hand-holding a tool like SABnzbd should do.
There are lots of other little issues that have more priority than this :)
Post Reply