a formatted file to import/export News Server Settings
Posted: March 14th, 2011, 10:39 am
Hi,
How about a file to import and/or export News Server Settings into SAB? It should be a universal format, that can be used by all newsserver providers and newsserver clients.
Reasons:
1) I run SABnzbd on different machines (netbook, laptop, desktop) each with a few newsservers. I find it annoying (and error-prone) to type/copy/paste in the newsserver settings on each machine. The proposed file would solve this.
2) newsserver providers could use this format the give their clients the right newsserver settings.
With the proposed file supported by SABnzbd, you could import all your newsserver with a mouse click. (Just like you import a NZB to get all post pointers)
The file should contain:
- newsserver FQDN
- account/password
- max number of threads
- port
Optional:
- name for nameserver setting (for example: "ipv6 xsnews - sanderj")
- retention time
- SSL yes/no
Maybe the file could contain more than one server, for example a newsprovider providing both SSL and non-SSL-servers, and for exporting all SAB-newsserver-settings in one file.
Format of the file could XML, JSON or INI-style.
Extension could be .NSS (NewsServer Settings)
Below is an example in INI-style, stolen from sabnzbd.ini, leaving out the non-relevant stuff.
I guess it's quite easy to write a (separate) prototype python script that can import and export newsserver setting, but I'm especially interested in the thoughts of others.
So: Looking forward to your comments.
[servers]
[[newszilla6.xs4all.nl - nousername]]
username = ""
name = newszilla6.xs4all.nl
connections = 3
ssl = 0
host = newszilla6.xs4all.nl
password = ""
port = 119
[[news.lightningusenet.com - blabla]]
username = blabla@lightningusenet.com
name = news.lightningusenet.com
connections = 5
ssl = 0
host = news.lightningusenet.com
password = blalba
port = 119
How about a file to import and/or export News Server Settings into SAB? It should be a universal format, that can be used by all newsserver providers and newsserver clients.
Reasons:
1) I run SABnzbd on different machines (netbook, laptop, desktop) each with a few newsservers. I find it annoying (and error-prone) to type/copy/paste in the newsserver settings on each machine. The proposed file would solve this.
2) newsserver providers could use this format the give their clients the right newsserver settings.
With the proposed file supported by SABnzbd, you could import all your newsserver with a mouse click. (Just like you import a NZB to get all post pointers)
The file should contain:
- newsserver FQDN
- account/password
- max number of threads
- port
Optional:
- name for nameserver setting (for example: "ipv6 xsnews - sanderj")
- retention time
- SSL yes/no
Maybe the file could contain more than one server, for example a newsprovider providing both SSL and non-SSL-servers, and for exporting all SAB-newsserver-settings in one file.
Format of the file could XML, JSON or INI-style.
Extension could be .NSS (NewsServer Settings)
Below is an example in INI-style, stolen from sabnzbd.ini, leaving out the non-relevant stuff.
I guess it's quite easy to write a (separate) prototype python script that can import and export newsserver setting, but I'm especially interested in the thoughts of others.
So: Looking forward to your comments.
[servers]
[[newszilla6.xs4all.nl - nousername]]
username = ""
name = newszilla6.xs4all.nl
connections = 3
ssl = 0
host = newszilla6.xs4all.nl
password = ""
port = 119
[[news.lightningusenet.com - blabla]]
username = blabla@lightningusenet.com
name = news.lightningusenet.com
connections = 5
ssl = 0
host = news.lightningusenet.com
password = blalba
port = 119