Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] AW: AW: Re: No video after playback



Hi Tilo,

> von Tilo Renkl
> Driver reload would be OK but how can I do it with my lirc remote ??
> What command in the commands.conf ?? Is it possible to kill VDR from
> out the VDR ?
> OkOk I am an old f****** Windoz user, so please help me.

commands.conf:

1 VDR Neustart: killall -9 vdr

runvdr:

#!/bin/sh
[...]
cd /usr/local/src/VDR-0.96-mp3-9
DVBDIR="../DVB/driver"
VDRPRG="./vdr"
VDRCMD="$VDRPRG -w 60 -v /video0 -r ../record.sh -m ./mount.sh -M
./mplayer.sh $* "
LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
KILLPROC="/sbin/killproc -TERM"
while (true) do
      (cd $DVBDIR; make rmmod; make insmod)
      sleep 3
      su -c "$VDRCMD" $VDRUSR
      if test $? -eq 0; then exit; fi
      date
      $KILLPROC $VDRPRG
      sleep 1
      date
      done

Ciao,

Jochen Vieten








Home | Main Index | Thread Index