diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-26 11:24:41 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-26 11:24:41 +0100 |
commit | 2f8ec339c3da375c386f7190462a4eee8e41926a (patch) | |
tree | a19b5a40cfbc4863833ce220e4833de267b87710 | |
parent | bc4cce1a5e35af5310635b5bd56da1896b608a5d (diff) | |
download | istreamdev-2f8ec339c3da375c386f7190462a4eee8e41926a.tar.gz istreamdev-2f8ec339c3da375c386f7190462a4eee8e41926a.tar.bz2 |
Fixed " " in the command printf
-rwxr-xr-x | includes/include.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/include.php b/includes/include.php index e522295..8045ab1 100755 --- a/includes/include.php +++ b/includes/include.php @@ -102,13 +102,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 = ""; |