Hallo,
wieder einmal habe ich den vdr neu aufgesetzt, leider will das mediadetection-plugin diesmal nicht so wie ich. Habe es analog zur vorherigen Installation (vdr-1.2.1), bei der es einwandfrei lief installiert. Mplayer und mp3 laufen mit allen Medien, nur eben besagtes Plugin nicht. Wenn ich bei eingelegter CD „Disk abspielen“ wähle, kann er die CD nicht identifizieren, egal was drauf ist. Im log steht: mount.sh: command not found.. Die gleiche Meldung kommt, wenn ich einen eject per commands.conf machen will (Hat vorher gefunzt). Hier mal Auszüge aus den relevanten Dateien.
/usr/local/bin/runvdr
DVBDIR="/usr/local/src/DVB/driver"
VDRPRG="/usr/local/bin/vdr"
VDRCMD="$VDRPRG -w 60 -t /dev/tty8 -L /usr/local/src/VDR/PLUGINS/lib -c /usr/local/vdr/etc $* \
-s /usr/local/bin/vdrshutdown \
-P'vdrcd -c /cdfs -c /media/cdrom -c /media/dvd' \
-P scanner \
-P vcd \
-P dvd \
-P'mp3 -m /usr/local/vdr/mount.sh' \
-P'mplayer -m /usr/local/vdr/mount.sh -M /usr/local/vdr/mplayer.sh' \
-P games"
#VDRUSR=vdr
/etc/fstab
/dev/hda1 / reiserfs defaults 1 1
/dev/hda3 /mp3 reiserfs defaults 1 2
/dev/hda2 /video reiserfs defaults 1 2
/dev/hda4 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/hdc /cdfs cdfs ro,noauto,user 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/usr/local/vdr/mount.sh
#!/bin/bash
#
# This script is called from VDR to mount/unmount/eject
# the sources for MP3 play.
#
# argument 1: wanted action, one of mount,unmount,eject,status
# argument 2: mountpoint to act on
#
# mount,unmount,eject must return 0 if succeeded, 1 if failed
# status must return 0 if device is mounted, 1 if not
#
action="$1"
path="$2"
case "$action" in
mount)
eject -t "$path" exit 1 # close the tray
mount "$path" exit 1 # mount it
;;
unmount)
umount "$path" exit 1 # unmount it
;;
eject)
eject "$path" exit 1 # eject disk
;;
status)
cat /proc/mounts | grep -q "$path" # check if mounted
if [ $? -ne 0 ]; then # not mounted ...
exit 1
fi
esac
exit 0
/usr/local/vdr/etc/plugins/mp3sources.conf
/mp3;Locale Platte;0
/media/cdrom;CDROM;1
/cdfs;CD-Audio;1;*.wav
/usr/local/vdr/etc/plugins/mplayersources.conf
/mp3;Locale Platte;0
/media/cdrom;CDROM;1
/cdfs;CD-Audio;1;*.wav
/video/plugins/DVD-VCD;DVD oder VCD;0
mount.sh ist ausführbar und auch DVD-VCD mit leeren Dateien DVD u. VCD ist angelegt. Bin am Verzweifeln.
Gruß Alex