Browse files

Fixes #8363, this fixes the case where a recording starts early for p…

…layback on frontend
  • Loading branch information...
1 parent c1ef027 commit 6aba7cf37ab863c432dfd2048648ba1baf7d37a9 @kormoc kormoc committed Dec 21, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/tv/tmpl/default/detail.php
View
4 modules/tv/tmpl/default/detail.php
@@ -452,7 +452,7 @@ function watchShow(host, chanid, starttime) {
if ($program && $schedule) {
echo '(<a href="'.root_url.'tv/';
// Link to different places for different kinds of schedules
- if ($schedule->search) {
+ if ($schedule->search) {
echo 'schedules/',
($schedule->search == searchtype_manual) ? 'manual'
: 'custom',
@@ -768,7 +768,7 @@ function watchShow(host, chanid, starttime) {
if (is_array($frontends)) {
echo '<div class="x-frontends">'.t('Play Recording on Frontend').':<ul>';
foreach ($frontends as $frontend)
- echo '<li><a onclick="watchShow(\''.urlencode($frontend->getHost()).'\', \''.urlencode($program->chanid).'\', \''.urlencode($program->starttime).'\');">'.$frontend->getHost().'</a><br>';
+ echo '<li><a onclick="watchShow(\''.urlencode($frontend->getHost()).'\', \''.urlencode($program->chanid).'\', \''.urlencode($program->recstartts).'\');">'.$frontend->getHost().'</a><br>';
echo '</ul></div>';
}
?>

0 comments on commit 6aba7cf

Please sign in to comment.