VLC gives this message.
Your input cannot be opened:
VLC is unable to open the MRL 'cdda//'.
Check the log for details.
I could not find the log.
Code: Select all
# dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer'
ata2.00: ATAPI: TSSTcorp CDDVDW TS-L633M, 0200, max UDMA/100
scsi 1:0:0:0: CD-ROM TSSTcorp CDDVDW TS-L633M 0200 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
Code: Select all
#!/bin/bash
# Display content of CD or DVD
#
#
#
# Help from rcrsn51,Flash,michaelk,01micko,
#
cd_chk=$( cddetect_quick -d /dev/sr0 )
if [[ $cd_chk == "no disc" ]]; then
echo "No CD/DVD in drive !!"
gxmessage -timeout 2 " NO CD/DVD IN DRIVE !!"
exit
fi
if [[ $cd_chk == "disc inserted" ]]; then
echo "CD/DVD is in drive."
mkdir -p /mnt/sr0
mount -t iso9660 /dev/sr0 /mnt/sr0
thunar /mnt/sr0/
fi