TomG
Sorry es hat ein wenig gedauert.
Zitat
Dass man /etc/filesystems erst erzeugen muss, hatte ich doch geschrieben. Steht cdfs nicht in /proc/filesystems, nachdem du eine Audio-CD mit cdfs gemountet hast?
Du hast ja sooooo Recht. Also die /proc/filesystems nach /etc/filesystems kopiert und bearbeitet (wie du vorgeschlagen hast).
Sieht jetzt so aus
--------------------- /etc/filesystems ----------------------------------------------------------
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext2
cramfs
nodev ramfs
cdfs
iso9660
nodev nfs
nodev devpts
ext3
vfat
nodev usbdevfs
nodev usbfs
udf
--------------------- ende /etc/filesystems ----------------------------------------------
Die fstab ist jetzt auch abgespeckt
-------------------------- /etc/fstab ------------------------
# Created during installation
proc /proc proc defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/fd0 /floppy auto defaults,user,exec,noauto 0 0
#
# - /dev/cdrom /cdrom iso9660 defaults,ro,user,exec,noauto 0 0
# - /dev/scd1 /media/cdfs cdfs ro,noauto,user 0 0
#
/dev/scd1 /media/cdrom auto ro,user,noauto 0 0
#
# - /dev/scd1 /media/dvd auto ro,user,exec,noauto 0 0
#
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 0 0
/dev/hda7 /var/lib/video.00 ext3 defaults 0 0
/dev/hdb5 /var/lib/video.01 ext3 defaults 0 0
# tmpfs /var/cache/vdr/vtx tmpfs size=32m 0 0
tmpfs /vtx tmpfs size=64m 0 0
#
/dev/hdb6 /sichervfat vfat defaults 0 0
-------------------------- ende /etc/fstab ------------------------
Nur noch ein Eintrag für das cd Rom Laufwerk. (Filesystem auto). Selbst udf wird damit klaglos gemountet.
Aufruf des vdrcd prg (/etc/vdrdevel/plugins/plugin.vdrcd )nur noch mit
-m /usr/lib/vdrdevel-plugin-vdrcd/mount.sh -c /media/cdrom
In der /usr/lib/vdrdevel-plugin-vdrcd/mount.sh habe ich jetzt nur noch "eject -x 4 /dev/scd1 .." eingefügt. Da diese immer wieder geändert wird.
Damit bleibt / wird diese immer wieder (nach mount ) neu gesetzt.
-------------------------------- /usr/lib/vdrdevel-plugin-vdrcd/mount.sh ----------
#!/bin/bash
#
# This script is called from VDR to mount/unmount/eject the sources,
#
# 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
#
# ok -> changed mount to not abort, if eject -t did fail, e.g. for a usb storage device
action="$1"
path="$2"
echo " $1 action $2 path " >> /usr/lib/vdrdevel-plugin-vdrcd/temp.txt
case "$action" in
mount)
eject -t "$path" &>/dev/null # close the tray, but not do/print anything if that fails
mount "$path" exit 1 # mount it
eject -x 4 /dev/scd1 &>/dev/null
;;
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
--------------------------- ende /usr/lib/vdrdevel-plugin-vdrcd/mount.sh ----------
Dann habe ich nur noch die entsprechenden mp3..conf und mplayer sources conf geändert.
Ach so zur
---------------- /etc/vdrdevel/plugins/mp3sources.conf ----------
/var/lib/video.01/mp3;Lokale Platte mp3;0;*.mp3
/var/lib/video.01/film;Lokale Platte film;0
# /media/cdfs;CD-Audio;1;*.wav
# /media/cdrom;mp3-CD-Audio-cdrom;1;*.mp3
# /media/cdrom;CD-Audio-mp3;1;*.mp3
/media/cdrom;CD-Audio-cdfs;1;*.[mw][pa][3v]
---------------- ende /etc/vdrdevel/plugins/mp3sources.conf ----------
habe ich den cdrom Zweig mit mp3/wav selektiert, da bei einigen Musik CD der Player bei ungültigen Dateien hing (sessions.....iso). Scheinen wohl Track Infos zu sein. (Original Musik CD) ???
ich hoffe ich habe Dich / Euch jetzt nicht zugemüllt. TomG dank Deiner Hilfe
habe ich jetzt ein problemloses erkennen / abspielen aller Formate.
Nochmals Dank für Deine Hilfe und Geduld.
Norbert