diff options
author | Alib <aliboba@free.fr> | 2010-04-01 11:20:58 +0200 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-04-01 11:20:58 +0200 |
commit | 67957d8306d4975fc0bc87966abcbc47cb38a846 (patch) | |
tree | 173cc062542053d0752139a4e7cae05cd9227d74 /bin/session.php | |
parent | 460a602e041ce142fed046b0bc47663203625007 (diff) | |
download | istreamdev-67957d8306d4975fc0bc87966abcbc47cb38a846.tar.gz istreamdev-67957d8306d4975fc0bc87966abcbc47cb38a846.tar.bz2 |
pulled back old session.php
Diffstat (limited to 'bin/session.php')
-rw-r--r-- | bin/session.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/session.php b/bin/session.php index 6255058..950c855 100644 --- a/bin/session.php +++ b/bin/session.php @@ -82,13 +82,13 @@ function sessioncreate($type, $url, $mode) switch ($type) { case 'tv': - $cmd = "./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" --task=50 >/dev/null &"; + $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh \\\"" .$url ."\\\" " .$qparams ." " .$httppath ." 2 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \\\"" .$ffdbg ."\\\" \" | at now"; break; case 'rec': - $cmd = "cat \"" .$url ."\"/0* | ./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" >/dev/null &"; + $cmd = "export SHELL=\"/bin/sh\";printf \"cat \\\"" .$url ."\\\"/0* | ./istream.sh - " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \\\"" .$ffdbg ."\\\" \" | at now"; break; case 'vid': - $cmd = "./istream.sh \"" .$url ."\" " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \"" .$ffdbg ."\" >/dev/null &"; + $cmd = "export SHELL=\"/bin/sh\";printf \"./istream.sh \\\"" .$url ."\\\" " .$qparams ." " .$httppath ." 1260 " .$ffmpegpath ." " .$segmenterpath ." " .$session ." \\\"" .$ffdbg ."\\\" \" | at now"; break; default: $cmd = ""; |