changing server's host name only changes host name

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

changing server's host name only changes host name

Post by sander »

AFAIK this is already known, but I can't find it as a bug:

After changing the host name for a server in http://localhost:8080/config/server/, the 'title' of server does not change. That's annoying / confusing.

Example: I changed host from reader.xsusenet.com into reader.xsusenet.com, and only *host* is changed, not the name and other stuff, as can be seen in sabnzbd.ini:

Code: Select all

sander@R540:~/.sabnzbd$ grep -i xsusenet sabnzbd.ini
[[reader.xsusenet.com]]
name = reader.xsusenet.com
host = free.xsusenet.com
sander@R540:~/.sabnzbd$ 
Workaround: I manuall edited sabnzbd.ini into:

Code: Select all

sander@R540:~/.sabnzbd$ grep -i xsusenet sabnzbd.ini
[[free.xsusenet.com]]
name = free.xsusenet.com
host = free.xsusenet.com
sander@R540:~/.sabnzbd$
... and now SAB's webgui shows the correct names.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: changing server's host name only changes host name

Post by shypike »

It's not a bug, but a feature :)
The reason is that the byte counters are tied to the server names.
Also the current method allows you to have multiple server definitions for the same server-host/port.
This is useful in some circumstances (like when you have multiple accounts).
Possibly we'll improve this a bit in the future.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: changing server's host name only changes host name

Post by sander »

shypike wrote:It's not a bug, but a feature :)
The reason is that the byte counters are tied to the server names.
Also the current method allows you to have multiple server definitions for the same server-host/port.
This is useful in some circumstances (like when you have multiple accounts).
Possibly we'll improve this a bit in the future.
OK, all clear. Thanks.
Post Reply