Ticket #10944: 10944-unbreak-playback-on-frontend.patch
File 10944-unbreak-playback-on-frontend.patch, 1.3 KB (added by , 12 years ago) |
---|
-
/usr/share/mythtv/mythweb/modules/remote/play_program_on_frontend.php
old new 14 14 $host = $_REQUEST['host']; 15 15 $frontends = MythFrontend::findFrontends(); 16 16 $frontends[$host]->play_program($chanid, $starttime); 17 header('Location: tv/detail/'.urlencode($chanid).'/'.urlencode($starttime));17 header('Location: '.root.'tv/detail/'.urlencode($chanid).'/'.urlencode($starttime)); 18 18 exit; 19 19 } 20 20 21 $Page_Previous_Location = 'tv/detail/'.urlencode($chanid).'/'.urlencode($starttime);21 $Page_Previous_Location = root.'tv/detail/'.urlencode($chanid).'/'.urlencode($starttime); 22 22 $Page_Previous_Location_Name = 'Details'; 23 23 $Page_Title_Short = 'Pick Frontend'; 24 24 -
/usr/share/mythtv/bindings/php/MythFrontend.php
old new 253 253 * @param string $starttime 254 254 /**/ 255 255 public function play_program($chanid, $starttime) { 256 $starttime = date('Y-m-d\TH:i:s', $starttime);256 $starttime = gmdate('Y-m-d\TH:i:s', $starttime); 257 257 return $this->send_play("program $chanid $starttime resume"); 258 258 } 259 259