From 5b91ea05ebd0fc721264d22a734f1960da45ddcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Sepp=C3=A4l=C3=A4?= Date: Thu, 18 Oct 2007 20:18:33 +0000 Subject: [PATCH] Exec doesn't need that much escaping. The url should be however wrapped in quotation marks because it may contain spaces. --- iptv/iptvstream.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptv/iptvstream.sh b/iptv/iptvstream.sh index 62797c7..4f141d4 100755 --- a/iptv/iptvstream.sh +++ b/iptv/iptvstream.sh @@ -12,4 +12,4 @@ if [ $# -ne 1 ]; then exit 1; fi -exec vlc ${URL} --sout \"#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=192}:standard{access=udp,mux=ts,dst=127.0.0.1:${1}}\" --intf dummy +exec vlc "${URL}" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=192}:standard{access=udp,mux=ts,dst=127.0.0.1:${1}}" --intf dummy