https://bugs.winehq.org/show_bug.cgi?id=49075
Bug ID: 49075 Summary: foobar2000 reports 'No CD drives found.' because GetDriveTypeW returns DRIVE_FIXED for audio CD Product: Wine Version: 5.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: spoon0042@hotmail.com Distribution: ---
Created attachment 67048 --> https://bugs.winehq.org/attachment.cgi?id=67048 foobar2000 log +volume
Summary should be self-explanatory. ;) Attached a log with +volume starting foobar2000 and selecting File -> Open audio CD. Relevant line would be
0033:trace:volume:GetDriveTypeW L"\\.\D:\" -> 3
Confusingly running winecfg with +volume correctly finds an audio CD. (And incorrectly an extra one?)
0009:trace:volume:GetVolumeInformationW L"\??\D:\": found audio CD 0009:trace:volume:GetVolumeInformationW L"\??\E:\": found audio CD
Hacking GetDriveTypeW to return 5 for D: things work as expected. Can play a CD, fetch tags, rip.