From ee59e19183a839784e6ac30ed639548e4f36615e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Feb 2010 17:48:07 +0100 Subject: Second rev with media streaming. Now it works for all video types. And some more bugfixes Committer: Alib modified: HISTORY modified: config.php modified: css/style.css modified: includes/inc_media.php modified: includes/inc_rec.php modified: includes/inc_stream.php modified: includes/inc_vdr.php modified: includes/include.php modified: istream.sh --- includes/inc_vdr.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/inc_vdr.php') diff --git a/includes/inc_vdr.php b/includes/inc_vdr.php index a90d80f..07880e7 100755 --- a/includes/inc_vdr.php +++ b/includes/inc_vdr.php @@ -52,6 +52,7 @@ function vdrgetinfostream($stream = "NULL", $ischan = 1) // Find the right chan (take the first one) if ($chanfound == 0) { + $streamArray = explode(",",$stream); if (strstr($allepg[$i], $stream) == $stream) $chanfound = 1; } @@ -73,7 +74,7 @@ function vdrgetinfostream($stream = "NULL", $ischan = 1) { $channame = substr($allepg[$i], 2); $channames = explode(" ", $channame); - $channame = substr($channame, strlen($channames[0])); + $channame = substr($channame, strlen($channames[0])+1); } } else if(ereg("^T", $allepg[$i])) -- cgit v1.2.3