2011-10-01, 15:46
@steve1977,
I'm going to look into some of this list when I get some more free time. The one that concerns me the most and should be working is Program Check.
How the Config for the Varibles work for Reverse Proxy (as I understand it).
Lets suppose we set Sickbeard Webroot to "TV" in settings
It finds the Settings using config.php Line 31
Zoom down to Line 288 in config.php.
If the IP for Sickbeard is Empty, set the Global IP that's entered instead.
Now - this is where the magic is supposed to happen (config.php line 407)
If the Sickbeard Webroot field is NOT empty make the variables
$sickbeardcomingepisodes = [noparse]http://username:password@MFP_URL/TV/comingEpisodes[/noparse]
$sickbeardurl = [noparse]http://username:password@MFP_URL/TV/home/[/noparse]
If the Sickbeard Webroot field IS empty make the variables
$sickbeardcomingepisodes = [noparse]http://username:password@MFP_URL:PORT/comingEpisodes[/noparse]
$sickbeardurl = [noparse]http://username:password@MFP_URL:PORT/[/noparse]
These variables are then used in the Program Check.
!!And the penny Drops!!
I could have deleted this post and said I know the solution, but this is how I work things out - so decided to keep it in so other can learn how it works.
The variables in the program check are using the IP and Ports only, I'll try to rectify this over the next day or so.
Simply need to change the format of what is being checked -
IE-
$SICKBEARD_IP & $SICKBEARD_PORT into $sickbeardurl.
The program check is looking @
Instead.
Watch this space.
I'm going to look into some of this list when I get some more free time. The one that concerns me the most and should be working is Program Check.
How the Config for the Varibles work for Reverse Proxy (as I understand it).
Lets suppose we set Sickbeard Webroot to "TV" in settings
It finds the Settings using config.php Line 31
Code:
$SICKBEARD_WEBROOT = $Config->get('SICKBEARD','WEBROOT');
Zoom down to Line 288 in config.php.
Code:
//SickBeard Global Settings//
if(empty($SICKBEARD_IP) && !empty($SICKBEARD_PORT)){
$SICKBEARD_IP = $GLOBAL_IP;
}
Now - this is where the magic is supposed to happen (config.php line 407)
Code:
if(!empty($SICKBEARD_WEBROOT)){
$sickbeardcomingepisodes = 'http://'.$sickbeardlogin.$GLOBAL_IP.'/'.$SICKBEARD_WEBROOT.'/comingEpisodes';
$sickbeardurl = 'http://'.$sickbeardlogin.$GLOBAL_IP.'/'.$SICKBEARD_WEBROOT.'/home/';
}
$sickbeardcomingepisodes = [noparse]http://username:password@MFP_URL/TV/comingEpisodes[/noparse]
$sickbeardurl = [noparse]http://username:password@MFP_URL/TV/home/[/noparse]
If the Sickbeard Webroot field IS empty make the variables
$sickbeardcomingepisodes = [noparse]http://username:password@MFP_URL:PORT/comingEpisodes[/noparse]
$sickbeardurl = [noparse]http://username:password@MFP_URL:PORT/[/noparse]
These variables are then used in the Program Check.
!!And the penny Drops!!
I could have deleted this post and said I know the solution, but this is how I work things out - so decided to keep it in so other can learn how it works.
The variables in the program check are using the IP and Ports only, I'll try to rectify this over the next day or so.
Simply need to change the format of what is being checked -
IE-
$SICKBEARD_IP & $SICKBEARD_PORT into $sickbeardurl.
The program check is looking @
Code:
$info[1]["address"]= $SABNZBD_IP;
$info[1]["port"]= $SABNZBD_PORT;
Watch this space.