summaryrefslogtreecommitdiff
path: root/bin/backend.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/backend.php
parent0288e7e23ea7aea31727780b6cfebb0baab87abc (diff)
downloadistreamdev-bdfebadb0d8f241dea056417cb14ce314c0c4ae9.tar.gz
istreamdev-bdfebadb0d8f241dea056417cb14ce314c0c4ae9.tar.bz2
Generate video logo and print info
Diffstat (limited to 'bin/backend.php')
-rwxr-xr-xbin/backend.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/backend.php b/bin/backend.php
index 3ed2dcb..87a5f7b 100755
--- a/bin/backend.php
+++ b/bin/backend.php
@@ -6,6 +6,7 @@ if (file_exists('../config.php'))
include ('../config.php');
else
include ('../config_default.php');
+include ('../getid3/getid3.php');
include ('./utils.php');
include ('./files.php');
include ('./streaminfo.php');
@@ -50,9 +51,9 @@ switch ($action)
break;
case ("getVidInfo"):
- $tree = file_get_contents("textfiles/getVidInfo.txt");
- print $tree;
- break;
+ $tree = getVidInfo($_REQUEST['file']);
+ print $tree;
+ break;
case ("getStreamInfo"):
$tree = getStreamInfo($_REQUEST['session']);