summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-25 15:30:07 +0100
committerAlib <aliboba@free.fr>2010-02-25 15:30:07 +0100
commit0bc8b852831b181d1c47d7f5e32ba5c72e9fa308 (patch)
tree1a2d4475e8c943bd60bd8d855ec4f152fa0085e0
parent8f41ef403891c727cfdee88addb3c1653b66ee74 (diff)
downloadistreamdev-0bc8b852831b181d1c47d7f5e32ba5c72e9fa308.tar.gz
istreamdev-0bc8b852831b181d1c47d7f5e32ba5c72e9fa308.tar.bz2
still debug
-rwxr-xr-xincludes/include.php4
-rw-r--r--istreamdev.manifest5
-rwxr-xr-xjavascript/ajax.js2
3 files changed, 8 insertions, 3 deletions
diff --git a/includes/include.php b/includes/include.php
index 6b57a65..f8819dd 100755
--- a/includes/include.php
+++ b/includes/include.php
@@ -98,13 +98,13 @@ function start_stream($type, $name, $title, $desc, $qname, $qparams, $category,
switch ($type)
{
case 1:
- $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." \" | at now";
+ $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." \" | at now";
break;
case 2:
$cmd = "export SHELL=\"/bin/sh\";printf \"cat \\\"" .$url ."\\\"/0* | ./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." \" | at now";
break;
case 3:
- $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." \" | at now";
+ $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh '" .$url ."' " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." \" | at now";
break;
default:
$cmd = "";
diff --git a/istreamdev.manifest b/istreamdev.manifest
new file mode 100644
index 0000000..1330719
--- /dev/null
+++ b/istreamdev.manifest
@@ -0,0 +1,5 @@
+CACHE MANIFEST
+
+images/*
+logos/*
+
diff --git a/javascript/ajax.js b/javascript/ajax.js
index 56e7057..e838c3c 100755
--- a/javascript/ajax.js
+++ b/javascript/ajax.js
@@ -34,7 +34,7 @@ function playmusic(path,name)
//on définit l'appel de la fonction au retour serveur
xhr.onreadystatechange = function() { openpls(xhr); };
- xhr.open("GET", "genplaylist.php?path=" + path + "&name=" + name, true);
+ xhr.open("GET", "genplaylist.php?path=" + path + "&name=" + name, false);
xhr.send(null);
}