1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 11:37:03 +00:00

Removed SystemExec() from EXT protocol.

This commit is contained in:
Rolf Ahrenberg
2007-10-18 19:33:15 +00:00
parent f9252cc925
commit 90abed4598
4 changed files with 85 additions and 24 deletions

15
iptv/iptvstream.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
URL=""
if [ -z "${URL}" ]; then
logger "$0: error: URL not defined!"
exit 1;
fi
if [ $# -ne 1 ]; then
logger "$0: error: Invalid parameter count '$#' $*"
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