summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-04-20 11:31:06 +0200
committerAlib <aliboba@free.fr>2010-04-20 11:31:06 +0200
commitf3d8b56d54b792b3dd7eb20ad6e52a55ec79f572 (patch)
tree270154abbcfd10411c84a15f87c4a4f46d377a74
parent88535aaa87b81fb0cd175ce226f5075e3e7f28c5 (diff)
parente550e91067ebd03c548bd6205cdbb52ab94e961e (diff)
downloadistreamdev-f3d8b56d54b792b3dd7eb20ad6e52a55ec79f572.tar.gz
istreamdev-f3d8b56d54b792b3dd7eb20ad6e52a55ec79f572.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:istreamdev
-rw-r--r--bin/session.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/session.php b/bin/session.php
index 6a104dc..9930a3d 100644
--- a/bin/session.php
+++ b/bin/session.php
@@ -93,12 +93,15 @@ function sessioncreate($type, $url, $mode)
default:
$cmd = "";
}
-
+
addlog("Sending encoding command: " .$cmd);
$cmd = str_replace('%', '%%', $cmd);
exec ($cmd);
+ // Give the time to the scrip to create pids
+ exec ("sleep 2");
+
// Write streaminfo
writeinfostream($session, $type, $mode, $url, $channame);