Bug 290216

Summary: Amarok doesn't detect that Audio CD is inserted on Windows
Product: [Applications] amarok Reporter: Rich Wilson <richaw>
Component: Collections/CDAssignee: Amarok Developers <amarok-bugs-dist>
Status: CONFIRMED ---    
Severity: normal CC: aakashrajdahal, bart.cerneels, matej, oskar.jauch, periliocastrol, richaw, t.gornak, vonreth
Priority: NOR    
Version: 2.8.0   
Target Milestone: 2.9   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Bug Depends on: 313046    
Bug Blocks:    

Description Rich Wilson 2011-12-30 22:23:24 UTC
Version:           2.5
OS:                MS Windows

On my new installation of Amarok on my Windows 7 system, I can not play a CD. Trying for help gives me an error message (I guess not surprising since I didn't install KDE).


Reproducible: Always

Steps to Reproduce:
Amarok/Play media
Select DVD drive. Double-click a track. Nothing happens.


Actual Results:  
Back to same appearance as when Amarok first runs.

Expected Results:  
Play one or more tracks from audio CD.

OS: MINGW32_NT-6.1 (i686) release Windows 7
Compiler: ccache.exe
Comment 1 Aakash 2012-01-01 13:38:04 UTC
I experienced the same issue with some CDs and DVDs while on others it ran fine. 
I am running Amarok 2.5(stable) on Windows 7.
Comment 2 Myriam Schweingruber 2012-01-01 23:35:04 UTC
Any pattern what CDs it fails with?
Comment 3 Rich Wilson 2012-01-02 00:37:39 UTC
(OP here) Just to clarify: These are audio CDs, not data CDs.

I'm not sure whether that last question was aimed at me, but I nevertheless performed the following test. Summary: Six out of six CDs failed.

I put a CD into the drive. I waited for Windows Media Player to start playing. I hit the red X to kill it. In Amarok, I selected Amarok/Play media. I scrolled down and clicked the H: drive (my DVD). I double-clicked the first track. I observed no noticeable reaction by Amarok. In all cases, I was returned to the original window showing Art of Nations.

I decided to try another experiment. 
I selected Playlist/Add media... then scrolled down and selected the H: drive. Amarok requested a CD in my H: drive. I inserted a CD. I was greeted with a file selection dialog, but none of the CD tracks could be selected, and the Open button was inactive. The Cancel button was active, but did nothing. My only out was to kill Amarok. That sounds like separate bug.

I started Amarok again, and repeated the same procedure, except this time there was a CD in the drive. I was able to select all of the tracks and click "Open", which returned me to the original unmodified window.

In desperation, I decided to RTFM (no!). It seems that with an audio CD in the drive, the CD drive should automatically appear in the window. It does not. Neither does my iPod touch. My Sansa Fuze is hiding from me at the moment.
Comment 4 Myriam Schweingruber 2012-01-02 11:10:38 UTC
Actually no, the question was for Aakash as he had some CDs working, others not.
Anyway, thank you for the valuable feedback.
Comment 5 Emilio 2012-09-17 17:49:00 UTC
With Amarok 2.6 I am not able to play AudioCDs.

It detects that an audioCD is inserted and shows the audioCD collection, but it shows 0 tracks.
Comment 6 Myriam Schweingruber 2012-09-17 19:09:09 UTC
Thank you for testing, bumping version.
Comment 7 Hannah von Reth 2013-02-19 11:55:09 UTC
The current cd backend will never be ported to windows.
So currently it would make sense to disable the cd plugin, because it has no functionality on windows.
Comment 8 Matěj Laitl 2013-02-19 11:59:31 UTC
(In reply to comment #7)
> The current cd backend will never be ported to windows.

What do you mean by "cd backend"? Solid-related?

> So currently it would make sense to disable the cd plugin, because it has no
> functionality on windows.

I thought just bug 313046 (and perhaps CD drive enumeration in Solid) prevents CD playback with phonon-vlc under Windows.
Comment 9 Hannah von Reth 2013-02-19 12:01:06 UTC
Its not a problem of solid but the way amarok detects cd tracks. The related code is not portable.
Comment 10 Matěj Laitl 2013-02-19 13:21:48 UTC
(In reply to comment #9)
> Its not a problem of solid but the way amarok detects cd tracks. The related
> code is not portable.

We plan to change that, see http://community.kde.org/GSoC/2013/Ideas#Project:_Rewrite_Audio_CD_Collection_so_that_it_doesn.27t_use_deprecated_technologies
Comment 11 Matěj Laitl 2013-04-30 13:11:30 UTC
Better bug title. Actual playback is handled by bug 313046.
Comment 12 Oskar Jauch 2013-12-03 20:23:35 UTC
Still reproducible with Amarok 2.8
Comment 13 Myriam Schweingruber 2013-12-04 07:58:39 UTC
This is WIP for 2.9