diff options
Diffstat (limited to 'includes/inc_vdr.php')
-rwxr-xr-x | includes/inc_vdr.php | 3 |
1 files changed, 2 insertions, 1 deletions
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])) |