From 2426652089532de407e1332768127f739ad1674b Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Feb 2010 08:38:49 +0100 Subject: corrected back from streaming page --- includes/inc_rec.php | 2 +- includes/inc_stream.php | 15 +++++++-------- includes/inc_vdr.php | 6 +++--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/includes/inc_rec.php b/includes/inc_rec.php index 42ab455..96d6088 100755 --- a/includes/inc_rec.php +++ b/includes/inc_rec.php @@ -40,7 +40,7 @@ while ($recname = readdir($dir_handle)) print "
"; print " "; print " "; - print " "; + print " "; print "
\r\n"; } else diff --git a/includes/inc_stream.php b/includes/inc_stream.php index 84d621f..58bfa1e 100755 --- a/includes/inc_stream.php +++ b/includes/inc_stream.php @@ -1,6 +1,6 @@ "; print " "; + print " "; + print " "; switch ($type) { case 1: - print " "; - print " "; + print " "; break; default: case 2: - $dir = dirname($url); - print " "; - print " "; + print " "; break; } print " \r\n"; @@ -150,7 +149,7 @@ else break; case 2: default: - print " \r\n"; + print " \r\n"; break; } print " "; @@ -165,7 +164,7 @@ else break; default: case 2: - $dir = dirname($vdrrecpath .$name); + $dir = dirname($name); print " "; print " "; break; diff --git a/includes/inc_vdr.php b/includes/inc_vdr.php index d36c8cc..a90d80f 100755 --- a/includes/inc_vdr.php +++ b/includes/inc_vdr.php @@ -3,7 +3,7 @@ include ('includes/inc_svdrp.php'); function vdrgetinfostream($stream = "NULL", $ischan = 1) { - global $allepg, $allepgfilled, $svdrpip, $svdrpport, $vdrrecpath; + global $allepg, $allepgfilled, $svdrpip, $svdrpport; if ($ischan) { @@ -21,12 +21,12 @@ function vdrgetinfostream($stream = "NULL", $ischan = 1) } else { - $infofile = $vdrrecpath .$stream ."/info"; + $infofile = $stream ."/info"; if (file_exists($infofile)) $info= file_get_contents($infofile); else { - $infofile = $vdrrecpath .$stream ."/info.vdr"; + $infofile = $stream ."/info.vdr"; if (file_exists($infofile)) $info= file_get_contents($infofile); else -- cgit v1.2.3