From 0bc8b852831b181d1c47d7f5e32ba5c72e9fa308 Mon Sep 17 00:00:00 2001 From: Alib Date: Thu, 25 Feb 2010 15:30:07 +0100 Subject: still debug --- includes/include.php | 4 ++-- istreamdev.manifest | 5 +++++ javascript/ajax.js | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 istreamdev.manifest 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); } -- cgit v1.2.3