diff --git a/modules/status/handler.php b/modules/status/handler.php index ac5d09f2a..f06001668 100644 --- a/modules/status/handler.php +++ b/modules/status/handler.php @@ -22,15 +22,15 @@ // Load the status page if (function_exists('curl_exec')) { - $ch = curl_init("http://$masterhost:$statusport$xml_param"); + $ch = curl_init("http://$masterhost:$statusport/Status$xml_param"); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5); $status = curl_exec($ch); curl_close($ch); } else if (function_exists('file_get_contents')) - $status = file_get_contents("http://$masterhost:$statusport$xml_param"); + $status = file_get_contents("http://$masterhost:$statusport/Status$xml_param"); else - $status = implode("\n", file("http://$masterhost:$statusport$xml_param")); + $status = implode("\n", file("http://$masterhost:$statusport/Status$xml_param")); // Extract the page title preg_match('#(.+?)#s', $status, $title); diff --git a/modules/tv/classes/Channel.php b/modules/tv/classes/Channel.php index 9f9098be6..ec8b3689b 100644 --- a/modules/tv/classes/Channel.php +++ b/modules/tv/classes/Channel.php @@ -121,7 +121,7 @@ function __construct($chanid) { // Otherwise, grab it from the backend else { // Make the request and store the result - $data = MythBackend::find()->httpRequest('GetChannelIcon', array('ChanID' => $this->chanid)); + $data = MythBackend::find()->httpRequest('Guide/GetChannelIcon', array('ChanID' => $this->chanid)); if ($data) file_put_contents($this->icon, $data); unset($data); diff --git a/modules/tv/classes/Program.php b/modules/tv/classes/Program.php index 7406318c3..f5a1e1d51 100644 --- a/modules/tv/classes/Program.php +++ b/modules/tv/classes/Program.php @@ -481,7 +481,7 @@ public function thumb_url($width=160, $height=120, $secs_in=-1) { /**/ public static function get_preview_pixmap($hostname, $chanid, $starttime, $width=160, $height=120, $secs_in=null) { - return MythBackend::find($hostname)->httpRequest('GetPreviewImage', array('ChanId' => $chanid, + return MythBackend::find($hostname)->httpRequest('Content/GetPreviewImage', array('ChanId' => $chanid, 'StartTime' => unix2mythtime($starttime), 'Height' => $height, 'Width' => $width));