summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vdr.php')
-rw-r--r--bin/vdr.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/bin/vdr.php b/bin/vdr.php
index 12fc62f..fbb8a3a 100644
--- a/bin/vdr.php
+++ b/bin/vdr.php
@@ -149,7 +149,23 @@ function vdrgetchannels($category, $now)
else if ($line[0] != "")
{
if ($line[0] == ":")
- break;
+ {
+ // Special case
+ $cat = substr($line, 1, -1);
+ if($cat[0] == '@')
+ {
+ $catarray = explode(' ', $cat);
+ $cat = substr($cat, strlen($catarray[0])+1);
+ $channum = substr($catarray[0], 1);
+
+ if ($cat != "")
+ break;
+ else
+ continue;
+ }
+ else
+ break;
+ }
$channame = explode(":", $line);
$channame = explode(";", $channame[0]);