Summary: | Can't play Audio CD | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | ivan <ivanonenadic> |
Component: | Collections/CD | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bart.cerneels, bartotten, fabioamd87, jacobgodserv, jajaxor, loacoon, lorebett2002, paul.leopardi, paulywauly68, sergio.callegari, shlomif |
Priority: | VHI | ||
Version: | 2.4.3 | ||
Target Milestone: | 2.5 | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.5 | |
Sentry Crash Report: |
Description
ivan
2011-02-16 00:48:55 UTC
Does Amarok show the CD? Are you using a computer with two CD/DVD drives? Yes, i using two DVD drives, DVD-RW and DVD-ROM 2011/2/17 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=266412 > > > Myriam Schweingruber <myriam@kde.org> 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. > 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. OK 2011/3/4 Sergio <sergio.callegari@gmail.com> > https://bugs.kde.org/show_bug.cgi?id=266412 > > > Sergio <sergio.callegari@gmail.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |sergio.callegari@gmail.com > > > > > --- 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. > 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. Thanks 2011/3/8 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=266412 > > > Myriam Schweingruber <myriam@kde.org> 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. > 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. 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. 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. 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. If you can play it with Dragonplayer then this is indeed an Amarok bug, reopening. Thank you for the feedback. Confirmed on Kubuntu 11.04, KDE 2.6.3 and Amarok 2.4-git of this morning. Fixed in Amarok 2.4-git already *** Bug 277550 has been marked as a duplicate of this bug. *** With Amarok 2.4.3 on KDE 4.7 using openSUSE 11.3, I am seeing the behaviour described in bug 277550. Reopening based on latest feedback. *** Bug 266015 has been marked as a duplicate of this bug. *** 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 KDE 4.7.1 Amarok 2.4.3 Still present 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. *** Bug 285733 has been marked as a duplicate of this bug. *** 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... 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 my amarok don't see audio CD's too, this is a duplicate: https://bugs.kde.org/show_bug.cgi?id=275591 (don't know how to flag) 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. 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. This is fixed in Amarok 2.5, see comment #24 For those still experiencing this, please see comment #28 *** Bug 299469 has been marked as a duplicate of this bug. *** my use is in the cdrom group... yet Amarok 2.5 in Kubuntu Precise cannot play CDs... (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. |