summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-04-09 15:31:46 +0200
committerTheTroll <trolldev@gmail.com>2010-04-09 15:31:46 +0200
commit45b3d3f1c0d38e5ebe8e871280f8dc6e835aaaeb (patch)
treeb0de6a3b971fec340e9ad73eefd334a5963065ff /bin
parentad1bef4dea8d283d57f5050bfa4003777043d905 (diff)
downloadistreamdev-45b3d3f1c0d38e5ebe8e871280f8dc6e835aaaeb.tar.gz
istreamdev-45b3d3f1c0d38e5ebe8e871280f8dc6e835aaaeb.tar.bz2
Bug 313
Fixed :@Channum
Diffstat (limited to 'bin')
-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]);