summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-25 15:10:40 +0100
committerTheTroll <trolldev@gmail.com>2010-03-25 15:10:40 +0100
commit27c05ed330b662cd0956f596bf786d2fa4205c45 (patch)
tree9683f34e72aa196b3478d5229cbd6aea0f6e25be /bin/vdr.php
parent1fcf072e7d5642aa7a2da75d6698982627e245fd (diff)
downloadistreamdev-27c05ed330b662cd0956f596bf786d2fa4205c45.tar.gz
istreamdev-27c05ed330b662cd0956f596bf786d2fa4205c45.tar.bz2
Removed empty sections
Diffstat (limited to 'bin/vdr.php')
-rwxr-xr-xbin/vdr.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/vdr.php b/bin/vdr.php
index 08ee13e..6e1dcec 100755
--- a/bin/vdr.php
+++ b/bin/vdr.php
@@ -485,6 +485,8 @@ function vdrgetfullepgat($channel, $at, $programs)
}
+ $finalepg = array();
+
for ($i=0; $i<count($epgout); $i++)
{
if (count($epgout[$i]['channel']))
@@ -496,10 +498,12 @@ function vdrgetfullepgat($channel, $at, $programs)
$channum[$key] = $row['number'];
array_multisort($channum, SORT_ASC, $epgout[$i]['channel']);
+
+ $finalepg[] = $epgout[$i];
}
}
- return $epgout;
+ return $finalepg;
}
function vdrgetepg($channel, $time, $day, $programs, $extended)