From 8b4da475907e5b50eb90e25fa4905cf1e1dc93c9 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Fri, 26 Feb 2010 18:28:36 +0100 Subject: Fix logo size when stream is started --- includes/inc_files.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'includes/inc_files.php') diff --git a/includes/inc_files.php b/includes/inc_files.php index abbbb3d..c3cda85 100755 --- a/includes/inc_files.php +++ b/includes/inc_files.php @@ -66,6 +66,15 @@ function mediagetinfostream($stream = "") return array($title, $info); } +function mediagetwidth($file) +{ + + $getid3 = new getID3; + $fileinfo = $getid3->analyze($file); + + return $fileinfo['video']['resolution_x']; +} + function mediagettype($file) { global $videotypes, $audiotypes; -- cgit v1.2.3