"No Audio CD in drive" error trying to play cd with kaffeine

Bug #41962 reported by Yuriy Kozlov
16
Affects Status Importance Assigned to Milestone
kaffeine (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When inserting an audio CD and choosing to play it with kaffeine, kaffeine shows this error:
"No Audio CD in drive, or wrong path to device.
Please select correct drive:"

The drop down menu is empty.

If I type in /dev/hdc, the CD plays fine.

If I eject the cd, then repeat, the same error returns.
If I type in /dev/hdc, press ok, exit kaffeine, and try playing it again (i.e. by right clickin on the cd in media:/) it plays fine.
If I click cancel on the error the CD doesn't play and the error comes up again if i try again.

This error also comes up if the cd is in /dev/hdd.

Clicking on Audio CD in the Go! tab in kaffeine works fine if the cd is in /dev/hdc but the error comes up if it is in /dev/hdd.

In kaffeine>settings>xine engine parameters>media the first thing there is the audio cd location: /dev/hdc That explains why clicking on the cd within kaffeine doesn't work if it is in /dev/hdd.

I did not have any problems with Audio CD's when I tried kaffeine 0.8.1 (another reason for bug #38951)

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote : screenshot

A screenshot of the error.

Revision history for this message
Video Toaster (toaster) wrote :

I'm having the same problem in Dapper. The only way I can get it to work is:

1. Open Kaffeine
2. Click Audio CD on the "Go!" tab.
3. Click "Cancel" when the error message appears
4. Go to "Open URL"
5. Enter "media:/hdc"

The CD then plays (usually). This is an incredibly annoying problem, and would most definitely turn away new users of Kubuntu.

I can also confirm that 0.8.1 fixes the problem.

Revision history for this message
Didier Raboud (odyx) wrote :

Works just fine here. Can somebody confirm the bug is still present in latest Dapper ?

Changed in kaffeine:
status: Unconfirmed → Needs Info
Revision history for this message
Video Toaster (toaster) wrote :

I had the problem with two fully-updated (as of this morning) Kubuntu Dapper installations. Can anybody else confirm?

Revision history for this message
Didier Raboud (odyx) wrote :

Marking as Confirmed and Major then. Confirmed because you seem to have two computers and I discussed with an user on IRC today. Seems the same problem. Major, because if Audio CD's are unreadable, it's very bad.

Changed in kaffeine:
status: Needs Info → Confirmed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

For me, audio CD's are readable, but I have to manually type in the location of the drive. (As I described in the bug).

Revision history for this message
Ted Treadwell (ttread) wrote :

I am also having the problem on two systems:

System one, I must type in /dev/hdc as described above.
System two has two optical drives, /dev/hdc works fine but /dev/hdd has the error.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Same here - readable audio cds, but i have to type in the location of the cd drive.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

The drop down list to choose a drive is empty because kaffeine scans for CD-ROMs by searching for lines with "cdfss" in /etc/fstab

however, on my kubuntu machine they are listed like this:
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0

adding
"|| line.contains("iso9660")" or
"|| line.contains("udf")"
to line 46 of drivescombo.cpp solves that small part of the problem. That part of it hasn't been fixed in the latest kaffeine either.

Revision history for this message
Video Toaster (toaster) wrote :

I tried adding "cdfss" to the entry for /dev/hdc in my fstab and my CD drive does now in fact show up in Kaffeine's drop down list. I can now click OK to the message and the CD plays - however, I have to click OK almost every time I play a CD.

I noticed that the address for CD audio in Kaffeine's xine settings is "system:/media/hdc". Could it have something to do with Kaffeine not supporting the system:/ protocol? I tried changing it to "media:/hdc", but it refused to save my change - when I clicked "Apply", closed the settings window, and then checked the setting again, it was back to "system:/media/hdc".

Revision history for this message
Bastian Holst (bastianholst) wrote :

The patch I attached to bug #37131 fixes this problem, too. It only needs to get uploaded.

Revision history for this message
Bastian Holst (bastianholst) wrote :

Patch to bug #37131 was uploaded and fixes this bug, too.

Changed in kaffeine:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.