diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 14:14:23 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 14:14:23 +0100 |
commit | b531002d2f3791e1499f4b4de030500932ce73da (patch) | |
tree | ac0dbbc468488e08a16967a6c72af57a6431f534 /bin | |
parent | 737a6402836788d359fcd99bef93ae059c085577 (diff) | |
download | istreamdev-b531002d2f3791e1499f4b4de030500932ce73da.tar.gz istreamdev-b531002d2f3791e1499f4b4de030500932ce73da.tar.bz2 |
Filled more broadcast info
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/session.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/session.php b/bin/session.php index e575a5b..bbc175a 100755 --- a/bin/session.php +++ b/bin/session.php @@ -127,10 +127,19 @@ function sessiongetinfo($session) switch ($type) { case 'tv': - $info['channel'] = $channame; + $info['name'] = $channame; + $info['thumbwidth'] = 80; + $info['thumbheight'] = 80; + $channum = vdrgetchannum($channame); + list($info['now_time'], $info['now_title'], $info['now_desc']) = vdrgetchanepg($channum, 1); + list($info['next_time'], $info['next_title'], $info['next_desc']) = vdrgetchanepg($channum, 0); + break; case 'rec': $info['channel'] = $channame; + $info['thumbwidth'] = 80; + $info['thumbheight'] = 80; + list($channame, $info['name'], $info['desc']) = vdrgetrecinfo($url); break; case 'vid': break; |