mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Use consistent variable names.
This commit is contained in:
parent
b5744903cd
commit
3daea8b1ba
@ -45,10 +45,10 @@ let SPID=${PARAMETER}+3
|
||||
# Capture program pid for further management in IPTV plugin
|
||||
vlc "${URL}" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=${VBITRATE},ab=${ABITRATE}}:standard{access=udp,mux=ts{pid-video=${VPID},pid-audio=${APID},pid-spu=${SPID}},dst=127.0.0.1:${PORT}}" --intf dummy &
|
||||
|
||||
PID=$!
|
||||
PID=${!}
|
||||
|
||||
trap 'kill -INT ${PID} 2> /dev/null' INT EXIT QUIT TERM
|
||||
|
||||
# Waiting for the given PID to terminate
|
||||
wait $PID
|
||||
wait ${PID}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user