blob: 8809f4b22ae88c14a8ef82e2866e448e7e87d4af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# plugin-startup-skript for bitstreamout-plugin
plugin_pre_vdr_start() {
if [ -n "${BITSTREAMOUT_MUTE}" ]; then
local mydir=/usr/share/vdr/bitstreamout
if [ -x ${mydir}/mute_${BITSTREAMOUT_MUTE}.sh ]; then
BITSTREAMOUT_MUTE=${mydir}/mute_${BITSTREAMOUT_MUTE}.sh
fi
if [ -x "${BITSTREAMOUT_MUTE}" ]; then
add_plugin_param "--mute=${BITSTREAMOUT_MUTE}"
else
einfo " bitstreamout: ${BITSTREAMOUT_MUTE} is not executable"
fi
fi
}
|