New Astra 19.2 Channellist, moved vdr config to /opt/vdr/etc

This commit is contained in:
Arne Fitzenreiter
2008-03-30 19:13:12 +02:00
parent ae440541d6
commit 42d62a83eb
8 changed files with 1321 additions and 11 deletions

View File

@@ -97,12 +97,12 @@ opt/vdr/share/man/man1/vdr.1.gz
opt/vdr/share/man/man5/vdr.5.gz
#opt/vdr/video
#var/video
var/video/channels.conf
var/video/diseqc.conf
var/video/keymacros.conf
opt/vdr/etc/channels.conf
opt/vdr/etc/diseqc.conf
opt/vdr/etc/keymacros.conf
#var/video/plugins
var/video/plugins/streamdevhosts.conf
var/video/setup.conf
var/video/sources.conf
var/video/svdrphosts.conf
opt/vdr/etc/plugins/streamdevhosts.conf
opt/vdr/etc/setup.conf
opt/vdr/etc/sources.conf
opt/vdr/etc/svdrphosts.conf
etc/rc.d/init.d/vdr

36
config/vdr/bin/runvdr Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/sh
# runvdr: Loads the DVB driver and runs VDR
#
# If VDR exits abnormally, the driver will be reloaded
# and VDR restarted.
#
# Any command line parameters will be passed on to the
# actual 'vdr' program.
#
VDRPRG="./bin/vdr"
VDRCMD="$VDRPRG -w 60 -c /opt/vdr/etc -Pstreamdev-server $*"
KILL="killall -q -TERM"
mkdir -p /var/video
cd /opt/vdr
while (true) do
#
# If you have stability Problems at tuning or similar
# unload and reload the dvb-modules here ...
# Example is for Hauppauge Nexus 2.0
#
# rmmod dvb_ttpci
# rmmod stv0299
# rmmod dvb_core
# modprobe dvb_ttpci
#
sleep 1
eval "$VDRCMD"
if test $? -eq 0 -o $? -eq 2; then exit; fi
$KILL $VDRPRG
sleep 10
echo "`date` restarting VDR"
done

1273
config/vdr/etc/channels.conf Executable file

File diff suppressed because it is too large Load Diff