summaryrefslogtreecommitdiff
path: root/bin/session.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-17 19:06:13 +0100
committerTheTroll <trolldev@gmail.com>2010-03-17 19:06:13 +0100
commit0288e7e23ea7aea31727780b6cfebb0baab87abc (patch)
treeae85dc2ea0ec2ced6ec4f26691212ce16f49980a /bin/session.php
parent6d3e8f33022129106ace66b97407bd66c02205c4 (diff)
downloadistreamdev-0288e7e23ea7aea31727780b6cfebb0baab87abc.tar.gz
istreamdev-0288e7e23ea7aea31727780b6cfebb0baab87abc.tar.bz2
Fixed subdirs browing and rec info
Diffstat (limited to 'bin/session.php')
-rwxr-xr-xbin/session.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/session.php b/bin/session.php
index 737ec50..8e3e727 100755
--- a/bin/session.php
+++ b/bin/session.php
@@ -56,7 +56,7 @@ function sessioncreate($type, $url, $mode)
$channame = vdrgetchanname($channum);
break;
case 'rec':
- list($channame, $title, $desc) = vdrgetrecinfo($url);
+ list($channame, $title, $desc, $recorded) = vdrgetrecinfo($url);
break;
default:
$channame = "";
@@ -132,13 +132,12 @@ function sessiongetinfo($session)
$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);
+ list($channame, $info['name'], $info['desc'], $info['recorded']) = vdrgetrecinfo($url);
break;
case 'vid':
break;