mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +01:00
Oops... Actually, it's better like this :)
This commit is contained in:
parent
299f15b7ee
commit
f33b62a877
@ -213,7 +213,7 @@ void GioLister::VolumeAdded(GVolume* volume) {
|
||||
|
||||
DeviceInfo info;
|
||||
info.ReadVolumeInfo(volume);
|
||||
#ifndef HAVE_AUDIOCD
|
||||
#ifdef HAVE_AUDIOCD
|
||||
if (info.volume_root_uri.startsWith("cdda"))
|
||||
// Audio CD devices are already handled by CDDA lister
|
||||
return;
|
||||
@ -250,7 +250,7 @@ void GioLister::MountAdded(GMount* mount) {
|
||||
|
||||
DeviceInfo info;
|
||||
info.ReadVolumeInfo(g_mount_get_volume(mount));
|
||||
#ifndef HAVE_AUDIOCD
|
||||
#ifdef HAVE_AUDIOCD
|
||||
if (info.volume_root_uri.startsWith("cdda"))
|
||||
// Audio CD devices are already handled by CDDA lister
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user