mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
5b91ea05eb
in quotation marks because it may contain spaces.
16 lines
332 B
Bash
Executable File
16 lines
332 B
Bash
Executable File
#!/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
|