diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 16:36:14 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 16:36:14 +0100 |
commit | 1012e0af0746ed8aee4fe4a372020758ea87ffdf (patch) | |
tree | c6153d923bed65e57cc526a3d4bc829e09a9e66f /bin/streaminfo.php | |
parent | 41de0f465be99cf6022c98f7becf154ab9b6bb9d (diff) | |
download | istreamdev-1012e0af0746ed8aee4fe4a372020758ea87ffdf.tar.gz istreamdev-1012e0af0746ed8aee4fe4a372020758ea87ffdf.tar.bz2 |
Show running sessions
Diffstat (limited to 'bin/streaminfo.php')
-rwxr-xr-x | bin/streaminfo.php | 6 |
1 files changed, 3 insertions, 3 deletions
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)) { |