summaryrefslogtreecommitdiff
path: root/bin/session.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-17 19:27:09 +0100
committerTheTroll <trolldev@gmail.com>2010-03-17 19:27:09 +0100
commitbdfebadb0d8f241dea056417cb14ce314c0c4ae9 (patch)
tree5cea72f3abe8fc31b28762fa6abc602e6fecbae2 /bin/session.php
parent0288e7e23ea7aea31727780b6cfebb0baab87abc (diff)
downloadistreamdev-bdfebadb0d8f241dea056417cb14ce314c0c4ae9.tar.gz
istreamdev-bdfebadb0d8f241dea056417cb14ce314c0c4ae9.tar.bz2
Generate video logo and print info
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;
}