how could i set up the firefox sab plugin to send the same nzb to two different servers running sabnzbd . both servers are on two different sites ?
regards
peter
send same nzb to two different servers ?
Forum rules
Help us help you:
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.
-
hackerabcd
- Newbie

- Posts: 1
- Joined: October 23rd, 2011, 8:36 am
Re: send same nzb to two different servers ?
http://forums.sabnzbd.org/viewtopic.php?f=9&t=9217
Maybe something like that ? or have another script that takes the sab api key and intercepts it before forwarding the request to both of the other servers
eg
http server hosting "sabnzbd/api"
the script behind it could look something like
if($_GET['apikey']=="Somekey"){
$ch = curl_init("http://www.sabserver1.com/");
$fp = fopen($_ENV["REQUEST_URI"], "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
$ch = curl_init("http://www.sabserver2.com/");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
Maybe something like that ? or have another script that takes the sab api key and intercepts it before forwarding the request to both of the other servers
eg
http server hosting "sabnzbd/api"
the script behind it could look something like
if($_GET['apikey']=="Somekey"){
$ch = curl_init("http://www.sabserver1.com/");
$fp = fopen($_ENV["REQUEST_URI"], "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
$ch = curl_init("http://www.sabserver2.com/");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);