This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok 2.4.0 Using KDE 4.6.0: how do I play an audio CD?

Tags: None
(comma "," separated)
penguian
Registered Member
Posts
9
Karma
0
OS
I have an audio CD in my drive. Device Notifier recognizes it and gives me two actions, one of which is "Play Audio CD with Amarok". Clicking this brings up Amarok. From the Help, I gather that in the left hand pane of the Amrok window, Audio CD should appear. It does not. How do I make it appear? Is there any configuration setting that will make it appear, or do I need to patch the code? Is this a known bug against Amarok 2.4.0 using KDE 4.6.0?

Remember that KDE 4.6.0 uses udisks rather than HAL. The audio CD plays fine using either Kaffeine or KsCD.
Ralph88
Registered Member
Posts
12
Karma
0
OS
Also in my case, Amarok 2.4.0 is not able to play Audio CDs; it seems a bug.

No problems with Amarok 2.3.2.
penguian
Registered Member
Posts
9
Karma
0
OS
Thanks. I think it is a bug too. I ran Amarok in debug mode and obtained the following. What does it mean? Should I just file a bug report?

amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)
amarok: [MediaDeviceCache] Found new Solid device with udi = "/org/freedesktop/UDisks/devices/sr0:media"
amarok: [MediaDeviceCache] Device name is = "DVD DD DW1650" and was made by "BENQ"
Advanced probing on /dev/sr0 failed while reading block size
amarok: [MediaDeviceCache] device is an Audio CD
amarok: BEGIN: void MountPointManager::deviceAdded(const QString&)
amarok: [MountPointManager] looking for udi "/org/freedesktop/UDisks/devices/sr0:media"
amarok: BEGIN: void MountPointManager::createHandlerFromDevice(const Solid::Device&, const QString&)
amarok: [MountPointManager] Device added and mounted, checking handlers
amarok: BEGIN: virtual bool MassStorageDeviceHandlerFactory::canHandle(const Solid::Device&) const
amarok: [MassStorageDeviceHandler] has empty uuid
amarok: [MassStorageDeviceHandler] volume is ignored
amarok: [MassStorageDeviceHandler] excluded filesystem of type ""
amarok: END__: virtual bool MassStorageDeviceHandlerFactory::canHandle(const Solid::Device&) const [Took: 0.007s]
amarok: [MountPointManager] Factory can't handle device "/org/freedesktop/UDisks/devices/sr0:media"
amarok: END__: void MountPointManager::createHandlerFromDevice(const Solid::Device&, const QString&) [Took: 0.007s]
amarok: END__: void MountPointManager::deviceAdded(const QString&) [Took: 0.13s]
amarok: BEGIN: void MediaDeviceMonitor::deviceAdded(const QString&)
amarok: BEGIN: void MediaDeviceMonitor::checkDevice(const QString&)
amarok: BEGIN: virtual bool MtpConnectionAssistant::identify(const QString&)
amarok: Not a PMP
amarok: END__: virtual bool MtpConnectionAssistant::identify(const QString&) [Took: 0s]
amarok: BEGIN: virtual bool AudioCdConnectionAssistant::identify(const QString&)
amarok: OpticalDisc
Advanced probing on /dev/sr0 failed while reading block size
amarok: AudioCd
amarok: END__: virtual bool AudioCdConnectionAssistant::identify(const QString&) [Took: 2.3s]
amarok: [MediaDeviceMonitor] Device identified with udi: "/org/freedesktop/UDisks/devices/sr0:media"
amarok: BEGIN: virtual void ConnectionAssistant::tellIdentified(const QString&)
amarok: BEGIN: const QString MediaDeviceCache::device(const QString&) const
amarok: END__: const QString MediaDeviceCache::device(const QString&) const [Took: 0.01s]
amarok: BEGIN: Collections::AudioCdCollection::AudioCdCollection(MediaDeviceInfo*)
amarok: [AudioCdCollection] Getting Audio CD info
amarok: BEGIN: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*)
amarok: END__: Meta::MediaDeviceHandler::MediaDeviceHandler(QObject*) [Took: 0s]
amarok: END__: Collections::AudioCdCollection::AudioCdCollection(MediaDeviceInfo*) [Took: 0.026s]
amarok: BEGIN: void Collections::MediaDeviceCollection::slotAttemptConnectionDone(bool)
amarok: [MediaDeviceCollection] connection failed, not scanning
amarok: BEGIN: void Collections::MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&)
amarok: END__: void Collections::MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) [Took: 0s]
amarok: END__: void Collections::MediaDeviceCollection::slotAttemptConnectionDone(bool) [Took: 0.001s]
amarok: END__: virtual void ConnectionAssistant::tellIdentified(const QString&) [Took: 0.037s]
amarok: [MediaDeviceMonitor] Device already identified with udi: "/org/freedesktop/UDisks/devices/sr0:media"
amarok: [MediaDeviceMonitor] Device already identified with udi: "/org/freedesktop/UDisks/devices/sr0:media"
amarok: END__: void MediaDeviceMonitor::checkDevice(const QString&) [Took: 2.4s]
amarok: END__: void MediaDeviceMonitor::deviceAdded(const QString&) [Took: 2.4s]
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) [DELAY Took (quite long) 5.3s]
lenzy
Registered Member
Posts
1
Karma
0
OS
no. it is because of the changeing from hal to udisk
Ralph88
Registered Member
Posts
12
Karma
0
OS
lenzy wrote:no. it is because of the changeing from hal to udisk

I am using KDE4-4.5.3 with HAL enabled.
penguian
Registered Member
Posts
9
Karma
0
OS
lenzy wrote:no. it is because of the changeing from hal to udisk


Could you please elaborate? Is Amarok 2.4.0 using KDE 4.6.0 supposed to work with udisk? Or is there a known bug recorded somewhere? Where? Or should I file a new bug report myself?
searchfgold6789
Registered Member
Posts
22
Karma
0
OS
I too am having the same problem.
Someone mentioned earlier that you can enable HAL. Is this something I can/should do and how?
User avatar
oboedad55
Registered Member
Posts
32
Karma
0
OS
If this helps someone, I've been using Amarok with Arch and had the same problem. Using phonon-vlc solved the problem.


Registered Linux user #436067
---------------------------------------
Linux assumes you know exactly what you are doing.
timswait
Registered Member
Posts
4
Karma
0
Does anyone know how to solve this problem? I can't play audio CDs with Amarok either.
User avatar
oboedad55
Registered Member
Posts
32
Karma
0
OS
timswait wrote:Does anyone know how to solve this problem? I can't play audio CDs with Amarok either.


As I said in my earlier post, using phonon-vlc instead of phonon-gstreamer solved the issue foe me.


Registered Linux user #436067
---------------------------------------
Linux assumes you know exactly what you are doing.
timswait
Registered Member
Posts
4
Karma
0
Does that mean I have to use vlc to listen to audio CDs? I quite like Amarok in every other respect.
timswait
Registered Member
Posts
4
Karma
0
Ah, thank you, just worked out what you mean! Here's a quick how to for anyone else that gets this problem (and like me is a bit of a noob ;) ):
-Use package manager to install phonon-vlc (if you don't already have it installed)
-In Amarok go to Settings>Configure Amarok
-Go to Playback>Configure Phonon
-Open the Backend tab, Click the VLC option and click "Prefer" to move it to the top of the list.
-Apply changes and exit and it now works!
:)
User avatar
oboedad55
Registered Member
Posts
32
Karma
0
OS
timswait wrote:Ah, thank you, just worked out what you mean! Here's a quick how to for anyone else that gets this problem (and like me is a bit of a noob ;) ):
-Use package manager to install phonon-vlc (if you don't already have it installed)
-In Amarok go to Settings>Configure Amarok
-Go to Playback>Configure Phonon
-Open the Backend tab, Click the VLC option and click "Prefer" to move it to the top of the list.
-Apply changes and exit and it now works!
:)


Yes, quite correct. Sorry I wasn't clearer, I assumed too much. Thanks for the reminder, will try to do better in the future.


Registered Linux user #436067
---------------------------------------
Linux assumes you know exactly what you are doing.
User avatar
Snowhog
Registered Member
Posts
198
Karma
1
OS
oboedad55@

I've noted this thread for future use. I'll install phonon-backend-vlc later and follow the steps given by timswait and see if it works for me. I'm hoping that it will fix, once and for all, the problem of Amarok not working properly with audio CD's.


Administrator
Kubuntu Forums . Net - https://kubuntuforums.net


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient