use script as server
use script as server
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).
Re: use script as server
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.
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.
Re: use script as server
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.
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.
Re: use script as server
Given the huge to-do list, I'm not going to work on this.duden wrote: But you might be right this will have a very small audience.
If you have enough software knowledge, you might be able to create a patch to implement it.
We accept patches.