From 9dec037a1262bdc3a3f4d7cfe1fe0156db0cd1ba Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 25 Mar 2010 00:43:51 +0100 Subject: Fixed single chan epg --- bin/vdr.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bin/vdr.php b/bin/vdr.php index 39170df..27b1087 100755 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -372,14 +372,12 @@ function vdrgetfullepgat($channel, $at, $programs) { if ($programscounter && $validchan) { - if ($channel == "all") - { - // Add new entry - $fullepg[] = $chanentry; - $addedchans[] = $chanentry['name']; - } - else - return $chanentry; + // Add new entry + $fullepg[] = $chanentry; + $addedchans[] = $chanentry['name']; + + if ($channel != "all") + break; } $validchan = 0; -- cgit v1.2.3