summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}