possible to edit server names?

Get help with all aspects of 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
renegade
Jr. Member
Jr. Member
Posts: 56
Joined: June 17th, 2010, 4:44 pm

possible to edit server names?

Post by renegade »

Hello,

Is it possible to edit the name of the server that is displayed on the config > servers page?

For example: news.newshosting.com is displayed. If possible can it just be newshosting?

Sab seems to default the name to whatever the host is. I tried editing the .ini file, and restarting Sab, but it just reverts the .ini to the host again.

I ask as I have a couple accounts to the same service (server) and I would like to clean up the names displayed on that page.

OS X 10.10.1
Sabnzbd 0.7.20
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: possible to edit server names?

Post by shypike »

Currently not because the names are the index for the byte counters.
We may change this in the future.
You can change the names by directly editing the sabnzbd.ini file.
User avatar
renegade
Jr. Member
Jr. Member
Posts: 56
Joined: June 17th, 2010, 4:44 pm

Re: possible to edit server names?

Post by renegade »

Thank you for the reply.

I tried editing the .ini file, it did not reflect the change on the web page after refreshing.

Assuming this is the correct line from .ini: name = news.newshosting.com

If I restart Sab after changing the ini. it is reverted to the host name.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: possible to edit server names?

Post by sander »

This is how it works for me:

Run SABnzbd, fill out a newsserver, and save.
Stop SABnzbd.
find and edit sabnzbd.ini. Find the part with '[[...]]', and change that. Save & exit the file
Now start SABnzbd again

The stuff from the '[[...]]' will get copied into the name= part. The host= part is the FQDN that will be used to actually look up and access the newsserver, so that should be a valid FQDN as provided by your news provider.
Example:

Code: Select all

$ grep -i nova blabla.ini
[[NOva1connection.planet.nl]]
name = NOva1connection.planet.nl
host = noVA.planet.nl
[[nova9connections.planet.nl]]
name = nova9connections.planet.nl
host = nova.planet.nl
User avatar
renegade
Jr. Member
Jr. Member
Posts: 56
Joined: June 17th, 2010, 4:44 pm

Re: possible to edit server names?

Post by renegade »

Thnak you for that, that indeed worked!

I know its a little thing, but it helps me out.

Thanks again.
Post Reply