use script as server

Want something added? Ask for it here.
Post Reply
duden
Newbie
Newbie
Posts: 2
Joined: July 30th, 2014, 7:35 am

use script as server

Post by duden »

The option to start a simple script and use stdin/-out as communication-channel might come in handy for usenet-servers reachable via ssh or other methods. (I know it's possible via xinetd or similar but it would be nice to have this directly handled by sab).
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: use script as server

Post by shypike »

I think I know what you mean.
The feature would be for a very very small audience though.
Also, we'd have design a little API language and implement that to handle the input.
Currently all is driven by HTTP.

You can also use curl http://curl.haxx.se/ to send API commands to SABnzbd, from a command line.
duden
Newbie
Newbie
Posts: 2
Joined: July 30th, 2014, 7:35 am

Re: use script as server

Post by duden »

Actually I don't want to send API commands (that's working fine with curl or similar).

I have a server which is only reachable via ssh and I know use autossh to keep this connection open, but this is fairly unstable (because of my side of the connection). If sabnzbd could just start ssh with some parameters and use this as server-connection I wouldn't need to maintain the connection by other means.

But you might be right this will have a very small audience.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: use script as server

Post by shypike »

duden wrote: But you might be right this will have a very small audience.
Given the huge to-do list, I'm not going to work on this.
If you have enough software knowledge, you might be able to create a patch to implement it.
We accept patches.
Post Reply