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:
15
iptv/iptvstream.sh
Executable file
15
iptv/iptvstream.sh
Executable 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
|
Reference in New Issue
Block a user