summaryrefslogtreecommitdiff
path: root/includes/inc_stream.php
diff options
context:
space:
mode:
authorroot <root@mediaserver.Belkin>2010-02-18 13:56:45 +0100
committerroot <root@mediaserver.Belkin>2010-02-18 13:56:45 +0100
commit1f5be309fb11e8fa2070c186efe6037a03a9b572 (patch)
tree3d42bf40efb2de3ecdb36992ea47204840a734e7 /includes/inc_stream.php
parent50b1f3626eb1d0e6503145264941752ad8d43589 (diff)
downloadistreamdev-1f5be309fb11e8fa2070c186efe6037a03a9b572.tar.gz
istreamdev-1f5be309fb11e8fa2070c186efe6037a03a9b572.tar.bz2
avi straming first test
Diffstat (limited to 'includes/inc_stream.php')
-rwxr-xr-xincludes/inc_stream.php19
1 files changed, 15 insertions, 4 deletions
diff --git a/includes/inc_stream.php b/includes/inc_stream.php
index 58bfa1e..b5df588 100755
--- a/includes/inc_stream.php
+++ b/includes/inc_stream.php
@@ -51,10 +51,11 @@ if (infostreamexist())
case 1:
print " <input name=\"name\" type=\"hidden\" id=\"name\" value=\"{$realname}\" />";
break;
- default:
case 2:
+ case 3:
print " <input name=\"name\" type=\"hidden\" id=\"name\" value=\"{$url}\" />";
break;
+
}
print " </form>\r\n";
}
@@ -76,12 +77,17 @@ else
case 2:
list($title, $desc, $realname) = vdrgetinfostream($name, 0);
break;
+ // Media
case 3:
+ $realname = $name;
+ $title = "";
+ $desc = "";
+ break;
default:
$realname = "";
$title = "";
$desc = "";
- $channame = $name;
+ $channame = "";
}
print "<body onorientationchange=\"updateOrientation();\" onload=\"updateOrientation();\">\r\n";
@@ -148,9 +154,9 @@ else
print " <input name =\"url\" type=\"hidden\" id=\"url\" value=\"{$vdrstreamdev}{$channum}\" />\r\n";
break;
case 2:
- default:
+ case 3:
print " <input name =\"url\" type=\"hidden\" id=\"url\" value=\"{$name}\" />\r\n";
- break;
+ break;
}
print " </form>";
}
@@ -168,6 +174,11 @@ else
print " <input name =\"action\" type=\"hidden\" id=\"action\" value=\"recordings\" />";
print " <input name =\"dir\"type=\"hidden\" id=\"dir\" value=\"{$dir}\" />";
break;
+ case 3:
+ $dir = dirname($name);
+ print " <input name =\"action\" type=\"hidden\" id=\"action\" value=\"media\" />";
+ print " <input name =\"dir\"type=\"hidden\" id=\"dir\" value=\"{$dir}\" />";
+ break;
}
print " </form>\r\n";