Kaffeine and KsCD won't play CDs or DVDs

Hi. I am new to OpenSuse. I have recently installed 11.2. I am having some sound woes.
Vlc plays CDs and DVDs but Kaffeine won’t. KsCD won’t play CDs.

When I try to use Kaffeine to play a CD I get:
Cannot find input plugin for MRL [cdda:/]
Opening kaffeine in the terminal gives:
user@linux-kxg1:~> kaffeine
user@linux-kxg1:~> CDROMREADTOCHDR: No medium found
CDROMREADTOCHDR: No medium found

When I try to use Kaffeine to play a DVD I get:
Cannot find input plugin for MRL [dvd:/]

I have installed all the software and libraries that os-forum posts have suggested.
Does anyone know what might be wrong? Help would be appreciated.
Do I have to add anything to /etc/fstab?
/dev/cdrom and /dev/dvd are pointing to /dev/sr0, but these apps are not seeing the device. Why might this be?

Did you follow this carefully:
Multi-media and Restricted Format Installation Guide - openSUSE Forums

Post result of

zypper lr -d

I think your user has no permission to the devices. As far as i know CD Audio is not a restricted format, but its also good to follow the guide mentioned in the post above. Normally if you set up a new user, it has permission granted to optical drive by default. Could you check that out by creating a new user?

Yes I did follow that, but unfortunately I enabled some other repositories and downloaded files from them, according to some other advice that I read first, which didn’t solve the problem.

Here is the result of zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------±------------------------±--------±--------±---------±-------±------------------------------------------------------------------------------------±-------
1 | KDE4_Community | KDE4 Community | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.2 |
2 | KDE4_core | KDE4 core | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2 |
3 | Packman KDE3 Repository | Packman KDE3 Repository | No | Yes | 99 | rpm-md | Index of /pub/packman/suse/kde3/11.2 |
4 | Packman Repository | Packman Repository | Yes | Yes | 90 | rpm-md | Index of /pub/packman/suse/11.2 |
5 | VideoLAN | VideoLAN | No | Yes | 99 | rpm-md | Index of /pub/vlc/SuSE/11.2/ |
6 | repo-debug | openSUSE-11.2-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.2/repo/oss |
7 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
8 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
9 | repo-source | openSUSE-11.2-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.2/repo/oss |
10 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |

I think I should be using some UK mirrors for the oss non-oss and update repositories, as the downloads can sometimes be quite slow.
By the way, I installed OS11.2 from the KDE4 CD, but then later had to install so much of Gnome for some apps I wanted, that I thought I might as well have the whole of Gnome installed as well.

Totem says: “Your GStreamer installation is missing a plug-in.” when I try to play a DVD with that app, but doesn’t say which. and the option to play a CD is greyed out when I put a CD in the drive. I have installed everything from the repos related to GStreamer.

Don’t use Totem. It rubbish. smplayer is my recommendation.

Do this:
ImageBam - Fast, Free Image Hosting and Photo Sharing

Try again.

Yes Pilgervater the user and video groups are enabled by default when you create a new user, but /dev/sr0 & sr1 require that the user be a member of the cdrom group. I changed /etc/group to make all users members of the cdrom and disk groups.
All I can think is that /dev/cdrom, /devcdrom1, /dev/cdrw, /dev/dvd and /dev/dvdrw which are supposed to point to /dev/sr0 and /dev/sr1 are not in fact doing that.
How would I correct this? What is the ln command syntax for this?

Totem has always worked well for me on other distros.

Thank you caf4926. I have now done that. It has improved matters. In Gnome, I can now open the CD through the screen notification that pops up when I put a CD in the drive, and then add apps that will be able to read the CD. Except with VLC, I can’t open an application and then choose to open an audio device from the menu, or by clicking a “Play CD” or “Open CD” button on the toolbar.

Also none of the apps are picking up the metadata and are displaying “Unknown CD” and “Track 1” “Track 2”, etc. K3B is picking up the metadata and displaying the contents of a CD, so why aren’t these other apps? Is there something I can do to rectify this?

I haven’t tried things out under KDE yet, but I will and then report back.

Post back these:

zypper lr -d
rpm -qi k3b k3b-codecs vlc

So things are almost there under Gnome, but not quite.

Under KDE it is a much less happy state of affairs. The device notifier on the panel notifies me when a new CD is inserted. Clicking on it gives me a list of the devices recently plugged in. The device notifier just gives the entry “Volume” for the CD inserted. There is no right click menu for it. Left clicking it gives me a pop-up menu:
“A new device has been detected. What do you want to do?” Then 4 options, with only 1 option to play the CD - with Kaffeine. So I click Kaffeine, only to get the error when Kaffeine opens up - “Cannot find input plugin for MRL [cdda:/]” There is no option to open the CD with another application as there is under Gnome. I can open VLC from the Kickoff Application Launcher, then go the the Media menu/Open Disc/Click the Audio CD radio button, then click play. Again there is no metadata displayed - only Audio CD - Track 01. K3b displays the metadata, so why can’t VLC?
How can I get Kaffeine, and other media players to open the CD in KDE4? How can I get them all, including VLC to display the metadata of the album, artist and tracks?

KDE4 - nice eye candy, but makes a hash of things. Wrong priorities!!

user@opensuselinux:~> zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------±------------------------±--------±--------±---------±-------±------------------------------------------------------------------------------------±-------
1 | KDE4_Community | KDE4 Community | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.2 |
2 | KDE4_core | KDE4 core | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2 |
3 | Packman | Packman | Yes | Yes | 86 | rpm-md | Index of /mirrors/opensuse/packman/11.2 |
4 | Packman KDE3 Repository | Packman KDE3 Repository | No | Yes | 99 | rpm-md | Index of /pub/packman/suse/kde3/11.2 |
5 | Packman Repository | Packman Repository | No | Yes | 90 | rpm-md | Index of /pub/packman/suse/11.2 |
6 | VideoLAN | VideoLAN | No | Yes | 99 | rpm-md | Index of /pub/vlc/SuSE/11.2/ |
7 | repo-debug | openSUSE-11.2-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.2/repo/oss |
8 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
9 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
10 | repo-source | openSUSE-11.2-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.2/repo/oss |
11 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |

2,
user@opensuselinux:~> rpm -qi k3b k3b-codecs vlc
Name : k3b Relocations: (not relocatable)
Version : 1.68.0 Vendor: PackMan :: Startseite
Release : 40.pm.41.8 Build Date: Fri 27 Nov 2009 15:13:55 GMT
Install Date: Sat 28 Nov 2009 15:38:43 GMT Build Host: pmbs
Group : Productivity/Multimedia/CD/Record Source RPM: k3b-1.68.0-40.pm.41.8.src.rpm
Size : 11333811 License: GPL v2 or later
Signature : DSA/SHA1, Fri 27 Nov 2009 15:14:35 GMT, Key ID f899f20d9a795806
Packager : andflo@links2linux.de
URL : K3b - The CD Kreator
Summary : A Universal CD and DVD Burning Application
Description :
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
files, DVD burning, CDDB, and much more.

Authors:

Sebastian Trueg <trueg@informatik.uni-freiburg.de>
Thomas Froescher <tfroescher@gmx.de>              

Distribution: main / openSUSE_11.2_Update
Name : k3b-codecs Relocations: (not relocatable)
Version : 1.68.0 Vendor: PackMan :: Startseite
Release : 40.pm.41.8 Build Date: Fri 27 Nov 2009 15:13:55 GMT
Install Date: Sat 28 Nov 2009 15:39:30 GMT Build Host: pmbs
Group : Productivity/Multimedia/CD/Record Source RPM: k3b-1.68.0-40.pm.41.8.src.rpm
Size : 136674 License: GPL v2 or later
Signature : DSA/SHA1, Fri 27 Nov 2009 15:14:35 GMT, Key ID f899f20d9a795806
Packager : andflo@links2linux.de
URL : K3b - The CD Kreator
Summary : A Universal CD and DVD Burning Application Build Environemnt
Description :
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
files, DVD burning, CDDB, and much more. This package contains its
build environment.

Authors:

Sebastian Trueg <trueg@informatik.uni-freiburg.de>
Thomas Froescher <tfroescher@gmx.de>

Distribution: main / openSUSE_11.2_Update
Name : vlc Relocations: (not relocatable)
Version : 1.0.3 Vendor: PackMan :: Startseite
Release : 0.pm.5.11 Build Date: Mon 23 Nov 2009 22:39:01 GMT
Install Date: Fri 27 Nov 2009 23:54:26 GMT Build Host: hauseck
Group : Productivity/Multimedia/Video/Players Source RPM: vlc-1.0.3-0.pm.5.11.src.rpm
Size : 1626455 License: GNU General Public License (GPL)
Signature : DSA/SHA1, Mon 23 Nov 2009 22:40:13 GMT, Key ID f899f20d9a795806
Packager : detrei@links2linux.de
URL : VideoLAN, Free streaming and multimedia solutions for all OS!
Summary : VLC - Video Lan Client (preview of the upcoming version)
Description :
VLC media player is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, …)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.
Distribution: main / openSUSE_11.2_Update

That’s fine. Just some questions: Why are repo’s 1 and 2 disbaled?

Repo 4 is not a good idea

I disabled repos 1 and 2 because I thought we should just be using the 4 repos: packman, non-oss, oss and update.
I’ll delete repo 4.
Will repos 1 & 2 give me anything I need that the others won’t?

Probably not.
Kaffeine has been giving some people problems, but then it’s not Packman now.
KsCD has been good for me for some time now, especially to play CD’s.

Having said that, playing CD’s is not a smooth and seamless exercise now and I don’t think it is getting the attention it deserves, possibly because most folks just rip the Audio from a CD and store it on their HD. k3b or jripper will do that in no time.

If you put an audio CD in and open dolphin and in the location bar type:

audiocd:/

you may be able to browse the CD

You aren’t the only one to have problems with audio CDs…

I can’t play audio CDs with Amarok or KsCD but it works with Audacious.

With Amarok I can play mp3 files but with the CDs the tracks don’t play, they stop immediatly.
In the output (with --debug) the only message for this problems seems to be “boom?” and then “no boom”.
I’m using Gstreamer as audio engine.

With KsCD the CD is detected, track’s info are collected from cddb but it don’t want to play the tracks, no errors in output.

I use packages from the KDE 4.3 repository (with the KDE stable repository I can’t event import the CD in Amarok)

I tried to delete my Amarok folders but no results :frowning:

Maybe try adding your user to the cdrom and disc groups in Yast? That helps some with burning problems and maybe effects this as well.

On debian I needed to install xine-ui to get the master of the universe options available to point the cd location to the one of my drives I wanted to play cds with. kscd still didn’t play them but when I applied that option in xine-ui and mplayer as well, kaffeine and amarok picked up on it and enabled cd playback in each of those.

My user is already in the following groups :
100(users),17(audio),20(cdrom),16(dialout),6(disk),33(video)

The problem is still here after updating the packages today :frowning:

If I use the Xine engine in Amarok, it goes directly to the next song and so on until it reach the end of the list.

install VLC. it plays about every format

Well that’s not the problem.
I have VLC already and I can play CDs with Audacious… but i WANT things to be fixed and to understand what is the problem :wink:

Please post the result of

zypper lr -d

Here is the output :

#  | Alias                     | Nom                   | Activé | Rafraîchir | Priorité | Type   | URI                                                                                      | Service
---+---------------------------+-----------------------+--------+------------+----------+--------+------------------------------------------------------------------------------------------+--------
1  | KDE_4.3_Community_1       | KDE_4.3_Community_1   | Oui    | Oui        |   99     | rpm-md | http://download.opensuse.org/repositories/KDE%3a/KDE4%3a/Community/openSUSE_11.2_KDE_43/ |
2  | KDE_4.3_Stable            | KDE_4.3_Stable        | Oui    | Oui        |   99     | rpm-md | http://download.opensuse.org/repositories/KDE%3a/43/openSUSE_11.2/                       |
3  | OpenOffice_stable         | OpenOffice stable     | Oui    | Oui        |   99     | rpm-md | http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.2/          |
4  | VideoLan_Repository_1     | VideoLan_Repository_1 | Oui    | Oui        |   99     | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/11.2/                                 |
5  | download.opensuse.org-oss | Dépôt principal (OSS) | Oui    | Oui        |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/                                 |
6  | ftp.skynet.be-suse        | Packman Repository    | Oui    | Oui        |   99     | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.2/                                              |
7  | openSUSE 11.2-0           | openSUSE 11.2-0       | Oui    | Non        |   99     | yast2  | cd:///                                                                                   |
8  | openSUSE-11.2-Non-Oss     | openSUSE-11.2-Non-Oss | Oui    | Oui        |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/                             |
9  | openSUSE-11.2-Oss         | openSUSE-11.2-Oss     | Oui    | Oui        |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/                                 |
10 | openSUSE-11.2-Update      | openSUSE-11.2-Update  | Oui    | Oui        |   99     | rpm-md | http://download.opensuse.org/update/11.2/                                                |
11 | repo-debug                | openSUSE-11.2-Debug   | Non    | Oui        |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.2/repo/oss/                           |
12 | repo-source               | openSUSE-11.2-Source  | Non    | Oui        |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/                          |