Bug 261175 - Amarok won't play audio cd
Summary: Amarok won't play audio cd
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/CD (show other bugs)
Version: 2.4-GIT
Platform: Debian testing Linux
: NOR normal
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
: 260641 270699 278012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-24 19:41 UTC by jinko
Modified: 2011-12-20 11:46 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4.2


Attachments
debug file (135.09 KB, text/plain)
2010-12-24 19:46 UTC, jinko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jinko 2010-12-24 19:41:56 UTC
Version:           2.3.1 (using KDE 4.4.5) 
OS:                Linux

I start amarok after I insert an audio cd, amarok recognizes the audio cd but shows 0 tracks so I can't play it.

Reproducible: Always

Steps to Reproduce:
Start amarok 2.3.1
insert audio cd
check it

Actual Results:  
the audio cd is dispalyed inside amrok but with 0 tacks


OS: Linux (i686) release 2.6.34
Compiler: cc
Comment 1 jinko 2010-12-24 19:46:02 UTC
Created attachment 55212 [details]
debug file
Comment 2 Myriam Schweingruber 2010-12-26 18:35:46 UTC
Output from Comment @1:

Collections::MediaDeviceCollection::slotAttemptConnectionDone(bool) - Took 0.29s 
amarok:       END__: virtual void ConnectionAssistant::tellIdentified(const QString&) - Took 0.29s 
amarok:       [MediaDeviceMonitor] Device already identified with udi:  "/org/freedesktop/Hal/devices/volume_part_1_size_708608000" 
amarok:       [MediaDeviceMonitor] Device already identified with udi:  "/org/freedesktop/Hal/devices/volume_part_1_size_708608000" 
amarok:       [MediaDeviceMonitor] Device already identified with udi:  "/org/freedesktop/Hal/devices/volume_part_1_size_708608000" 
amarok:     END__: void MediaDeviceMonitor::checkDevice(const QString&) - Took 0.3s 
amarok:   END__: void MediaDeviceMonitor::deviceAdded(const QString&) - Took 0.3s 
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.31s 
amarok: BEGIN: virtual void CollectionTreeItemModel::collectionAdded(Collections::Collection*) 
amarok:    [WARNING!] failed: an unexpected comparison was made 
amarok:   BEGIN: virtual float Meta::MediaDeviceHandler::usedcapacity() const 
amarok:   END__: virtual float Meta::MediaDeviceHandler::usedcapacity() const - Took 0.004s 
amarok:   BEGIN: virtual float Meta::MediaDeviceHandler::totalcapacity() const 
amarok:   END__: virtual float Meta::MediaDeviceHandler::totalcapacity() const - Took 0.0059s 
amarok: END__: virtual void CollectionTreeItemModel::collectionAdded(Collections::Collection*) - Took 0.017s 
amarok: BEGIN: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const Meta::DataList&) 
amarok:   [CollectionTreeItemModelBase] Received special data:  11 
amarok: END__: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const Meta::DataList&) - Took 0.29s 
amarok: BEGIN: void Collections::AudioCdCollection::infoFetchComplete(KJob*) 
amarok:    [ERROR!] 101 
amarok:   BEGIN: void Collections::AudioCdCollection::noInfoAvailable() 
amarok:     BEGIN: virtual void CollectionTreeItemModelBase::listForLevel(int, Collections::QueryMaker*, CollectionTreeItem*) 
amarok:        Initialized thread, count== 5 
amarok:     END__: virtual void CollectionTreeItemModelBase::listForLevel(int, Collections::QueryMaker*, CollectionTreeItem*) - Took 0.015s 
amarok:     BEGIN: virtual void CollectionTreeItemModelBase::listForLevel(int, Collections::QueryMaker*, CollectionTreeItem*) 
amarok:     END__: virtual void CollectionTreeItemModelBase::listForLevel(int, Collections::QueryMaker*, CollectionTreeItem*) - Took 0.00075s 
amarok:   END__: void Collections::AudioCdCollection::noInfoAvailable() - Took 0.1s 
amarok:   BEGIN: bool MainWindow::isWaitingForCd() 
amarok:     [MainWindow] waiting?:  false 
amarok:   END__: bool MainWindow::isWaitingForCd() - Took 0.00064s 
amarok: END__: void Collections::AudioCdCollection::infoFetchComplete(KJob*) - Took 0.11s
Comment 3 Myriam Schweingruber 2010-12-26 18:36:49 UTC
Could you please update to the latest stable version which is Amarok 2.3.2 and try again?
Comment 4 jinko 2010-12-31 13:50:39 UTC
(In reply to comment #3)
> Could you please update to the latest stable version which is Amarok 2.3.2 and
> try again?

I'm using Debian Testing, amarok version 2.3.2 is avaible in Debian experimental repository, it requires a different libraries version, probably this will bring the system in a state of inconsistency.
If possible I would know if this problem is an amarok bug or what else..and if you think if the only solution is to upgrade amarok, please let me know.
thank you for your time
Giovanni
Comment 5 Myriam Schweingruber 2011-01-05 11:35:25 UTC
Hard to tell, so far other distributions can play CDs, apparently it is broken in the latest Kubuntu 10.10 which is a derivative of Debian, might be related.
Comment 6 Beat Wolf 2011-02-22 19:56:17 UTC
there is a review request that fixes this bug:
https://git.reviewboard.kde.org/r/100647/
Comment 7 Myriam Schweingruber 2011-04-12 09:02:48 UTC
*** Bug 270699 has been marked as a duplicate of this bug. ***
Comment 8 Ralph Moenchmeyer 2011-04-21 23:57:07 UTC
I run Opensuse 11.4 x86_64 with KDE 4.6.2. KDE RPMs from Opensuse's KDE Factory repository. Xine is used as Phonon's backend. /dev/cdrom is linked to /dev/sr0. In KDE's systemsettings the Audio CD device is set to /dev/cdrom.  

Amarok 2.4.0.90 does not recognize and does not play audio CDs. Neither does KsCD. The latter says "no CD" in its display. However and paradoxically, KsCD's playlist shows all titles of the CD. Amarok instead neither displays the CD icon nor the CD's contents in its resource list.  

However Aqualung, Audacious, CD-Spieler, VLC, Kaffeine, Clementine, Gnome-Mplayer/SMPlayer, gxine all recognize and play the same audio CDs from the same device without any problems.  

By the way: Banshee complains about missing plugins although the corresponding RPMs seem to be present.      

Removing amarokrc to get a clean new configuration file did not help. I checked in addition the /etc/udev/rules.d/70-persistent-cd.rules and its content is OK.
Comment 9 Myriam Schweingruber 2011-04-24 15:21:03 UTC
Confirmed based on duplicates.
Comment 10 Beat Wolf 2011-04-24 21:44:31 UTC
I'm really wondering why a huge bug like this, with a proposed patch, is more or less ignored. I'm saying this based on the fact that the patch did not even get a feedback. Just wondering. Gladly i never listen to audio cds
Comment 11 Myriam Schweingruber 2011-04-25 03:14:57 UTC
Oh come on, you know very well it is not ignored, the developers are all just quite busy. Remember they work on Amarok in their free time after all.

A patch review takes a bit more than just 3 seconds, and it needs to be reviewed by somebody knowing that part of the code.
Comment 12 Beat Wolf 2011-04-25 07:57:32 UTC
i really didn't want to be annoying, sorry if it looked that way. i was really just wondering. But good to hear it is beeing worked on :)
Comment 13 Harald Sitter 2011-04-26 11:30:00 UTC
*** Bug 260641 has been marked as a duplicate of this bug. ***
Comment 14 Ralf Engels 2011-05-18 21:11:41 UTC
Fixed with 425d684b7df0e8b50faa0cbe86eecb2d4d5022cd
Comment 15 Myriam Schweingruber 2011-07-19 16:11:15 UTC
*** Bug 278012 has been marked as a duplicate of this bug. ***