From 1012e0af0746ed8aee4fe4a372020758ea87ffdf Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 17 Mar 2010 16:36:14 +0100 Subject: Show running sessions --- bin/streaminfo.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/streaminfo.php') diff --git a/bin/streaminfo.php b/bin/streaminfo.php index f102226..fcf3310 100755 --- a/bin/streaminfo.php +++ b/bin/streaminfo.php @@ -2,7 +2,7 @@ /* Types: - 0 : Not running + none : Not running tv : VDR live rec : VDR recording vid : Media @@ -28,11 +28,11 @@ function readinfostream($session) $ram = "../ram/" .$session ."/"; if (!file_exists($ram ."streaminfo")) - return array(0); + return array("none"); $infofile = fopen($ram ."streaminfo", 'r'); if (!$infofile) - return array(0); + return array("none"); while ($line = fgets($infofile, 1024)) { -- cgit v1.2.3