From bdfebadb0d8f241dea056417cb14ce314c0c4ae9 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 17 Mar 2010 19:27:09 +0100 Subject: Generate video logo and print info --- bin/session.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/session.php') 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; } -- cgit v1.2.3