From 81eb6b3220ad70daba291177857f3bc05c3ec48b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 7 Aug 2011 17:33:21 +0200 Subject: streams/streams: add infinite loop to command --- streams/streams | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streams') 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 -- cgit v1.2.3