Hi
Also ich hab mich immer gewundert warum nicht alle CD's ordentlich vom MP3 Plugin in meiner lokalen oder remote CDDB gefunden werden.
Das Problem ist ein Mix aus nem Bug im CDFS (berechnet die discID und die Anzahl der Tracks falsch) und dem MP3 Plugin (nimmt den falschen LEADOUT bei einem Daten-track [die dinger sind ja heutzutage fast auf allen CD's drauf]). Mit dem Workaroud werden soweit vorhanden alle CD's ordentlich erkannt
Hier der Workaround:
die mount.sh wie unten anpassen das skript cdfsedit.pl nach /bin kopieren und im MP3 Plugin folgende Zeile ändern:
Im Mp3 Plugin decoder-snd.c
-#define CDFS_PROC "/proc/cdfs"
+#define CDFS_PROC "/tmp/cdfs.new"
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
rm /tmp/cdfs.new
/bin/cdfsedit.pl
;;
unmount)
umount "$path" exit 1 # unmount it
rm /tmp/cdfs.new
;;
eject)
eject "$path" exit 1 # eject disk
rm /tmp/cdfs.new
;;
status)
cat /proc/mounts | grep -q "$path" # check if mounted
if [ $? -ne 0 ]; then # not mounted ...
exit 1
fi
esac
exit 0
Ciao Marco