summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-07 17:33:21 +0200
committerroot <root@krebs>2011-08-07 17:33:21 +0200
commit6095581a7580485fc0d3baaf86ee21433d6a292c (patch)
tree04b0d87d215535dfe9c465d847fb6de21c7d86c4
parent08f27d02e568d028eba22726005924689f7d0de6 (diff)
streams/streams: add infinite loop to command
-rwxr-xr-xstreams/streams2
1 files changed, 1 insertions, 1 deletions
diff --git a/streams/streams b/streams/streams
index 607fd9e5..60a4bfc2 100755
--- a/streams/streams
+++ b/streams/streams
@@ -22,7 +22,7 @@ function start() {
if echo "$URLS" | while read URL NAME; do
if [ "$NAME" = "$REQ" ];then
- tmux new-session -s streams -n streams -d "exec mplayer $URL"
+ tmux new-session -s streams -n streams -d "while sleep 1;do mplayer $URL;done"
echo "** $REQ started"
exit 1
fi