export rss setting / sab.ini /

Want something added? Ask for it here.
Post Reply
theCheek
Newbie
Newbie
Posts: 9
Joined: October 30th, 2011, 3:12 am

export rss setting / sab.ini /

Post by theCheek »

So I've been running a specially installed version of sabnzbd on my Synology Nas drive for a while now, as i find it's always the most efficient way of keeping my collections in one place. However due to the custom nature of the install, I can't seem to get at the config files the way that I would with a windows install. I've had to re-install sab a few times (sometimes all settings get lost when upgrading for some reason), and the most time consuming thing is my rss feeds.

I've been trying to SSH into my Synology for a while to try to get at the sab.ini file (located in /var/packages/sab2/target/sab/sab.ini) but I'm just thinking that it would be no doubt relatively simple to have an 'export/import settings' button in the config of Sabnzbd? Maybe something allowing the user to select exactly what setting/ini's are exported? This would also make the cross platform compatibility more efficient, as I have seen loads of threads asking where specific config files are stored based on the platform.

Just my two cents. Devs - keep up the hard work it's an incredible program.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: export rss setting / sab.ini /

Post by shypike »

Making a selective import/export is just too much work.
In the next major release 99% of the setting will be reachable through the UI
(unlike 0.6.x).
BTW: an export is a security issue too.
We made some extra effort so that actual passwords are never visible in the Config pages
(not even as hidden text). Also the API never reveals passwords.
An export would undo that.
theCheek
Newbie
Newbie
Posts: 9
Joined: October 30th, 2011, 3:12 am

Re: export rss setting / sab.ini /

Post by theCheek »

Thanks Shypike for your fast responses this evening. I understand the risk. Would just an export of the RSS feeds also be a security risk? I use Newzbin saved searches RSS feeds and have about 30 of them running in Sabnzbd. Seeing as the username and password of Newzbin are encrypted already, do you think this would instead be possible?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: export rss setting / sab.ini /

Post by shypike »

What you ask is possible, but also only of interest to a very small group of people.
How many people are keeping the RSS feeds of multiple SABnzbd installations in sync?
BTW: it is possible to create your own export through the API.
curl http://server:port/sabnzbd/api -F mode=get_config -F section=rss -F apikey=YOURKEY -F output=xml
theCheek
Newbie
Newbie
Posts: 9
Joined: October 30th, 2011, 3:12 am

Re: export rss setting / sab.ini /

Post by theCheek »

shypike wrote:What you ask is possible, but also only of interest to a very small group of people.
How many people are keeping the RSS feeds of multiple SABnzbd installations in sync?
BTW: it is possible to create your own export through the API.
curl http://server:port/sabnzbd/api -F mode=get_config -F section=rss -F apikey=YOURKEY -F output=xml
that's excellent new that this is possible, but could you please at least point me in the right direction for a tuturial on how to use this commands? I am a complete noob when it comes to any sort of programming, and from what I see this curl command is something in C? Do you have a website I can read up on or something?

cheers mate really appreciate...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: export rss setting / sab.ini /

Post by shypike »

curl : http://curl.haxx.se/
api info (very obscure, sorry) : http://wiki.sabnzbd.org/api
Post Reply