summaryrefslogtreecommitdiff
path: root/bin/session.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/session.php')
-rwxr-xr-xbin/session.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/session.php b/bin/session.php
index 8e3e727..ccf12fe 100755
--- a/bin/session.php
+++ b/bin/session.php
@@ -140,6 +140,13 @@ function sessiongetinfo($session)
list($channame, $info['name'], $info['desc'], $info['recorded']) = vdrgetrecinfo($url);
break;
case 'vid':
+ $infovid = mediagetinfostream($url);
+ $info['desc'] = $infovid['desc'];
+ $info['duration'] = $infovid['duration'];
+ $info['format'] = $infovid['format'];
+ $info['video'] = $infovid['video'];
+ $info['audio'] = $infovid['audio'];
+ $info['resiolution'] = $infovid['resiolution'];
break;
}