funny behaviour with a remote listening host filled out
Posted: March 1st, 2012, 7:11 am
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
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.