From 0288e7e23ea7aea31727780b6cfebb0baab87abc Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 17 Mar 2010 19:06:13 +0100 Subject: Fixed subdirs browing and rec info --- bin/session.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/session.php') 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; -- cgit v1.2.3