SOLVED Can not play music CDs

Using applications, configuring, problems
Post Reply
Message
Author
scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

SOLVED Can not play music CDs

#1 Post by scientist »

I can not play any music CDs.

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
This used to work but no longer does.

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
Last edited by scientist on Wed 30 Mar 2016, 23:21, edited 1 time in total.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#2 Post by OscarTalks »

Pilot error probably.
Works for me, click Media>Open Disc>On Disc tab select Audio CD>Play button.
Oscar in England
Image

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#3 Post by scientist »

thanks that solves my first problem.

I want to copy files from CD to hard drive in order to use Audacity to convert them to mp3s.

But there is currently no way to display them using Thunar.
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

scientist
Posts: 860
Joined: Sat 23 May 2015, 08:21

#4 Post by scientist »

Copies music files from CD to wav files.
cdparanoia -B
Thanks,
Andy


Slacko 6.3.0 FULL INSTALL
JWM
File Manager - Thunar

Post Reply