summaryrefslogtreecommitdiff
path: root/bin/streaminfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/streaminfo.php')
-rwxr-xr-xbin/streaminfo.php6
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))
{