amarok 2.2 can't play audio cd

Bug #477667 reported by ari67
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Amarok
Fix Released
Medium
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: amarok

If I insert an Audio CD in my cdrom drive and choose the option "play with Amarok" it does nothing. Amarok itself shows the cd icon but there are zero songs.
I use Kubuntu 9.10 Karmic Koala with Amarok 2.2 "sun jammer".

Revision history for this message
Erik Kronberg (eakron) wrote :

Please press Alt+F2 then run "apport-collect 477667" (without the quotes). This will add needed information to your bug report.

Changed in amarok (Ubuntu):
status: New → Incomplete
Revision history for this message
Testing Tigerwolf (testing.tigerwolf) wrote :

Same problem using Amarok 2.2.1 on KDE 4.3.3 (Ubuntu Karmic 9.10)

By scruting input-outputs, the following sequence appears :

 .xsssio-errs .xsssio-errs .xsssio-errs

Moreover Amarok view the cd as a lonely track. If I choose "Add to playlist", nothing happens...

Amarok seems to fail to read the cd information. But the CD I attempt to read is a basic CD without any access-control.
"amarok: BEGIN: void AudioCdCollection::noInfoAvailable()"

>> Look at the attached debug trace

Changed in amarok (Ubuntu):
status: Incomplete → New
Revision history for this message
Bruno (brunoalexandremiguel) wrote :

Same problem here, with version 2.2.1

Revision history for this message
Steffan Jacobs (steffanjacobs) wrote :

It is confirmed then, and I just encountered this on my clean Kubuntu Karmic install + updates.

Changed in amarok (Ubuntu):
status: New → Confirmed
Revision history for this message
mf-linux (maximo-fraga) wrote :

It's sad to say this, but the problem is still present in Kubuntu 10.04 LTS (Lucid Lynx). This bug has been present on Kubuntu since Karmic distribution, and in my experience not only involved Amarok, but also KsCD and Kaffeine. I solved it by using VLC and Gnome Players instead.

Revision history for this message
F7205 2610539 54B8BD49D49D (krugerk) wrote :

according to http://amarok.kde.org/wiki/FAQ#How_do_I_play_audio-CDs inserting the disc should be enough. the cd should show up in location collection.

kubuntu 10.10 here
currently with kubuntu kde 4.6rc2 packages

can play the content using mplayer

$ mplayer cdda://
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://.
Found audio CD with 16 tracks.

Track 1
rawaudio file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Revision history for this message
Paul Worrall (nicknak) wrote :

This thread in the amarok forum seems relevant:

http://forum.kde.org/viewtopic.php?f=115&t=91305&start=15#p185538

It is stated that playing CDs will not work until the transition away from HAL is completed.

Revision history for this message
In , Ivanonenadic (ivanonenadic) wrote :

Version: 2.3.2 (using KDE 4.5.1)
OS: Linux

Amarok can't play Audio CD

Reproducible: Always

Steps to Reproduce:
When I put the audio cd into my dvd-rom, run the autorun, but when I select "Play Audio CD with Amarok" Amarok is open but we are not playing songs from Audio CDs! I tried to set the dvd device in System Preferences to put the "dev / cdrom" but nothing!
I even tried to "dev/sr0" because the dvd-rom in K3B-furnished in the "dev/sr0", which to me is excellent in K3b.

My DVD device is: Pioneer DVD-RW DVR-110D

Expected Results:
I wish that we normally Amarok plays audio CDs!

OS: Linux (i686) release 2.6.35-22-generic
Compiler: cc

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Does Amarok show the CD? Are you using a computer with two CD/DVD drives?

Revision history for this message
In , Ivanonenadic (ivanonenadic) wrote :

Yes, i using two DVD drives, DVD-RW and DVD-ROM

2011/2/17 Myriam Schweingruber <email address hidden>

> https://bugs.kde.org/show_bug.cgi?id=266412
>
>
> Myriam Schweingruber <email address hidden> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |NEEDSINFO
> Resolution| |WAITINGFORINFO
>
>
>
>
> --- Comment #1 from Myriam Schweingruber <myriam kde org> 2011-02-17
> 20:42:07 ---
> Does Amarok show the CD? Are you using a computer with two CD/DVD drives?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>

Revision history for this message
In , Sergio Callegari (callegar) wrote :

I confirm the bug.

On Ubuntu 10.10 64 bit (in fact kubuntu)
with kde 4.6

first version of amarok 2.4 shipped by my distro in its kde ppa channel could not see audiocds at all.

second packaged version sees the audiocd, can gather track names, but cannot play songs.

Revision history for this message
In , Ivanonenadic (ivanonenadic) wrote :

OK

2011/3/4 Sergio <email address hidden>

> https://bugs.kde.org/show_bug.cgi?id=266412
>
>
> Sergio <email address hidden> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> CC| |<email address hidden>
>
>
>
>
> --- Comment #3 from Sergio <sergio callegari gmail com> 2011-03-04
> 15:51:34 ---
> I confirm the bug.
>
> On Ubuntu 10.10 64 bit (in fact kubuntu)
> with kde 4.6
>
> first version of amarok 2.4 shipped by my distro in its kde ppa channel
> could
> not see audiocds at all.
>
> second packaged version sees the audiocd, can gather track names, but
> cannot
> play songs.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Thank you for the feedback. Current Kubuntu 10.04 does not play CDs with Amarok as there is a transition from HAL to Udev for handling the hardware, but that should be resolved in the upcoming Kubuntu 11.04. Closing as downstream as this depends on your distribution.

Revision history for this message
In , Ivanonenadic (ivanonenadic) wrote :

Thanks

2011/3/8 Myriam Schweingruber <email address hidden>

> https://bugs.kde.org/show_bug.cgi?id=266412
>
>
> Myriam Schweingruber <email address hidden> changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|NEEDSINFO |RESOLVED
> Resolution|WAITINGFORINFO |DOWNSTREAM
>
>
>
>
> --- Comment #5 from Myriam Schweingruber <myriam kde org> 2011-03-08
> 19:48:15 ---
> Thank you for the feedback. Current Kubuntu 10.04 does not play CDs with
> Amarok
> as there is a transition from HAL to Udev for handling the hardware, but
> that
> should be resolved in the upcoming Kubuntu 11.04. Closing as downstream as
> this
> depends on your distribution.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>

Revision history for this message
In , Sergio Callegari (callegar) wrote :

Please reopen and remove RESOLVED as DOWNSTREAM as this does not appear to be a downstream problem.

Got my system upgraded to kubuntu natty that does exactly the same.

Audio cd media is now not even shown in amarok, although it is recognized by kde that propose playing the cd with amarok.

amarok -d --cdplay shows a very suspicios

BEGIN: virtual bool UmsConnectionAssistant::identify(const QString&)
amarok: Device udi: "/org/freedesktop/UDisks/devices/sr0"
amarok: Device name: "HL-DT-ST - HL-DT-STCD-RW/DVD-ROM MU10N"
amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty
amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const [Took: 0s]
amarok: Mount point: ""
amarok: vendor: "HL-DT-ST" , product: "HL-DT-STCD-RW/DVD-ROM MU10N"
amarok: BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const
amarok: [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty
amarok: END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const [Took: 0s]
amarok: END__: virtual bool UmsConnectionAssistant::identify(const QString&) [Took: 0s]
amarok: END__: void MediaDeviceMonitor::checkDevicesFor(ConnectionAssistant*) [Took: 0.17s]
amarok: BEGIN: void Collections::DaapCollectionFactory::connectToManualServers()
amarok: END__: void Collections::DaapCollectionFactory::connectToManualServers() [Took: 0s]
amarok: BEGIN: void LyricsApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: END__: void LyricsApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
amarok: BEGIN: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: [WikipediaEngine] "updated preferred wikipedia languages:" ("en")
amarok: END__: void WikipediaEnginePrivate::_dataContainerUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
amarok: BEGIN: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: END__: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
amarok: BEGIN: virtual void CollectionTreeItemModelBase::queryDone()
amarok: END__: virtual void CollectionTreeItemModelBase::queryDone() [Took: 0s]
amarok: BEGIN: virtual void CollectionTreeItemModelBase::queryDone()
amarok: END__: virtual void CollectionTreeItemModelBase::queryDone() [Took: 0s]
amarok: BEGIN: virtual int App::newInstance()
amarok: BEGIN: static void App::handleCliArgs()
amarok: BEGIN: bool MainWindow::playAudioCd()
amarok: [MainWindow] waiting for cd...
amarok: END__: bool MainWindow::playAudioCd() [Took: 0s]
amarok: END__: static void App::handleCliArgs() [Took: 0s]
amarok: END__: virtual int App::newInstance() [Took: 0s]

Any other application meant to play the audio cd (including kscd) works just fine.

Revision history for this message
In , Sergio Callegari (callegar) wrote :

I managed getting amarok to see the audio cd once...
Still no luck at playing it

The debug trace is

EngineController] PlayPause: EngineController state 0
amarok: BEGIN: void EngineController::play()
amarok: BEGIN: void Playlist::Actions::play()
amarok: BEGIN: void Playlist::Actions::play(quint64, bool)
amarok: BEGIN: void EngineController::play(Meta::TrackPtr, uint)
amarok: BEGIN: void EngineController::stop(bool)
amarok: BEGIN: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&)
amarok: [EngineController] Empty MediaSource (engine stop)
amarok: END__: void EngineController::slotNewTrackPlaying(const Phonon::MediaSource&) [Took: 0s]
amarok: END__: void EngineController::stop(bool) [Took: 0s]
amarok: [EngineController] play: bounded is QObject(0x0) current "Adagio. Allegro - Symphony No. 38 in D, KV 504 "Prague""
amarok: [EngineController] Just a normal, boring track... :-P
amarok: BEGIN: void EngineController::playUrl(const KUrl&, uint)
amarok: [EngineController] URL: "audiocd:/6e0f6f07/1?device=/dev/sr0"
amarok: [EngineController] offset: 0
amarok: [EngineController] play track from cd
amarok: END__: void EngineController::playUrl(const KUrl&, uint) [Took: 0s]
amarok: END__: void EngineController::play(Meta::TrackPtr, uint) [Took: 0s]
amarok: END__: void Playlist::Actions::play(quint64, bool) [Took: 0s]
amarok: END__: void Playlist::Actions::play() [Took: 0s]
amarok: END__: void EngineController::play() [Took: 0.001s]
amarok: END__: void EngineController::playPause() [Took: 0.001s]

Amarok attempts at playing and pauses istantaneously...

At the same time, I get my system messages filled by tons of

[ 1374.278839] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
[ 1374.278846] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 02 00
[ 1374.278852] end_request: I/O error, dev sr0, sector 64
[ 1374.280578] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1374.280582] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 1374.280586] Info fld=0x10, ILI
[ 1374.280587] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
[ 1374.280593] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 02 00
[ 1374.280599] end_request: I/O error, dev sr0, sector 64
[ 1374.393866] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1374.393879] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 1374.393891] Info fld=0x10, ILI

Kscd is conversely happy to play on this machine.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Sergio, downstream means that it is Kubuntu specific, and you didn't change distribution AFAICT, so please report this downstream. Seems it is not yet fixed in Natty then.

Revision history for this message
In , Sergio Callegari (callegar) wrote :

Thanks, I understand this.

Yet the meaning of my bug report was to have amarok informed about the following:

1) Kubuntu is clearly doing its own best to properly package kde and so far they have made and excellent work. All the kde 4 applications needing to work with audio CDs work perfectly (kscd, dragon player, audex, etc.) only amarok is having problems in this area. While I am writing this email I am listening to audio CDs with natty, kde 4.6.3 and Dragon.

2) From the amarok debug info, it is quite evident that the OS makes the audio CD visible to amarok, providing information about the hardware (vendor: "HL-DT-ST" , product: "HL-DT-STCD-RW/DVD-ROM MU10N"), the track ("Adagio. Allegro - Symphony No. 38 in D, KV 504 "Prague"" ... "[EngineController] Just a normal, boring track... :-P") etc.

In this condition I cannot see what natty could do more. If you provide me with better details about what amarok expects and natty does not provide, I can try pass this information to the natty developers, but I believe that without assistance from the amarok developers this issue cannot be solved. The fact that the step from maverick to natty left this issue unsolved makes me convinced that unless there is some involvement of the amarok developers this issue will remain as is in the next kubuntu releases too.

My personal feeling is that for some reasons amarok uses different calls than dragon and other kde apps to _play_ the cd and that this is the root cause of the issue. Most likely, at the first issue/error in accessing the drive amarok just gives up, when other apps more correctly do not accepting the idea that there can be transient faults.

So please be so kind to detail what is expected from the distro to have amarok working or how to help debug the issue.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

If you can play it with Dragonplayer then this is indeed an Amarok bug, reopening. Thank you for the feedback.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Confirmed on Kubuntu 11.04, KDE 2.6.3 and Amarok 2.4-git of this morning.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Fixed in Amarok 2.4-git already

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

*** Bug 277550 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Paul Leopardi (paul-leopardi-iinet) wrote :

With Amarok 2.4.3 on KDE 4.7 using openSUSE 11.3, I am seeing the behaviour described in bug 277550.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

Reopening based on latest feedback.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

*** Bug 266015 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :
Revision history for this message
In , josephk (josephk-deactivatedaccount-deactivatedaccount) wrote :

amarok can't nor read, nor show up, audio cds content.
bangarang can.

this in kubuntu oneiric 64bit,
phonon-gstreamer backend,
package 2.4.3-1ubuntu1

Revision history for this message
josephk (josephk-deactivatedaccount-deactivatedaccount) wrote :

amarok can't nor read, nor show up, audio cds content.
bangarang, for example, can.

this in kubuntu oneiric 64bit,
phonon-gstreamer backend,
package 2.4.3-1ubuntu1

can't play audio cd by default for years, great..

https://bugs.kde.org/show_bug.cgi?id=266412

Changed in amarok:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Bartotten (bartotten) wrote :

KDE 4.7.1
Amarok 2.4.3

Still present

Revision history for this message
In , Sergio Callegari (callegar) wrote :

I also confirm that it is still present.
Funny it is so hard to identify what is causing it. But also quite problematic, since the very first thing that a media player should be supposed to do is to be capable of seeing the media to start with.

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

*** Bug 285733 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jajaxor (jajaxor) wrote :

Hi ! (sorry for my bad english !)

ok for duplicate.

if you start amarok before and if you put audio cd in your cd/dvd player after, it show audio in collection and you can play it.

with notification (amarok not started), amarok don't see the audio cd...

Revision history for this message
In , Sam Lade (sam-sentynel) wrote :

Git commit 49ce96b92bb1a78086624d5500cb9b06196613b9 by Sam Lade.
Committed on 18/11/2011 at 15:04.
Pushed by lade into branch 'master'.

Fix audio CD detection on Amarok start

Get a list of optical discs, rather than looking for optical discs in
StorageAccess devices.
This does not fix other audio CD issues such as "play audio CD with Amarok" not
working.

Patch by Luc Menut.

BUG:276032
CCBUG:266412
REVIEW:102580

M +1 -0 ChangeLog
M +16 -7 src/MediaDeviceCache.cpp

http://commits.kde.org/amarok/49ce96b92bb1a78086624d5500cb9b06196613b9

Revision history for this message
In , fabioamd87 (fabioamd87) wrote :

my amarok don't see audio CD's too,

Revision history for this message
In , fabioamd87 (fabioamd87) wrote :

this is a duplicate: https://bugs.kde.org/show_bug.cgi?id=275591

(don't know how to flag)

Revision history for this message
In , fabioamd87 (fabioamd87) wrote :

I've solved, I've turn off specify cd drive in system setting-> multimedia and enabled all service at kde start, maybe I've done someting more, try and let me know.

Revision history for this message
In , Shlomi Fish (shlomif-gmail) wrote :

Audio CDs play fine in Amarok here after I added my user to the "cdrom" group in /etc/group .

So I cannot reproduce this problem.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Closing in favor of upstream report.

Changed in amarok (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

This is fixed in Amarok 2.5, see comment #24

For those still experiencing this, please see comment #28

Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

*** Bug 299469 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Lorenzo Bettini (bettini) wrote :

my use is in the cdrom group... yet Amarok 2.5 in Kubuntu Precise cannot play CDs...

Changed in amarok:
status: Confirmed → Fix Released
Revision history for this message
In , Myriam Schweingruber (myriam) wrote :

(In reply to comment #31)
> my use is in the cdrom group... yet Amarok 2.5 in Kubuntu Precise cannot
> play CDs...

Let me guess: you see the CD and the tracks but the tracks are grayed out? If yes, that is a different bug, #285885, this one was about CDs not being detected, even if some comments are misleading. Bug 285885 was not seen by all users but only on some specific setups in 2.5.

Currently we are in the process of releasing Amarok 2.6, and I am playing from a CD right now with the build of today, so this is definitely fixed now for all use cases.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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