Page 1 of 1

changing server's host name only changes host name

Posted: February 6th, 2012, 7:30 am
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.

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

Posted: February 6th, 2012, 10:44 am
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.

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

Posted: February 6th, 2012, 3:08 pm
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.