Bug 195557 - kscd cannot handle multiple CD drives
Summary: kscd cannot handle multiple CD drives
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kscd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 13:38 UTC by Axel Schwank
Modified: 2020-04-14 19:03 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
add support in kscd of multiple CD drives (4.22 KB, patch)
2009-06-28 23:39 UTC, Luc Menut
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Schwank 2009-06-07 13:38:57 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

I have two CD drives, one of them is configured to hanle audio CDs in the KDE system settings (let's call it A, the other one B).
Kscd offers no configuration to set the drive it will use, so I suppose it should honour the KDE setting.
If I put a CD into drive A and try to play it, kscd says "No disc", the track list is empty.
If I put a CD into drive B and try to play it, nothing happens (the "play" button switches to "pause" for a short moment and back again). The track list is also empty.
The "eject" button ejects drive B.
After inserting a disc into drive B, i get a console message

Phonon::createPath: Cannot connect Phonon::MediaObject(no objectName) to Phonon::AudioOutput(no objectName).
Object::connect: No such signal Phonon::Gstreamer::MediaObject::availableSubtitlesChanged()
Object::connect: No such signal Phonon::Gstreamer::MediaObject::availableAudioChannelsChanged()
Object::connect: No such signal Phonon::Gstreamer::MediaObject::titleChanged(int)
Object::connect: No such signal Phonon::Gstreamer::MediaObject::availableTitlesChanged(int)
Object::connect: No such signal Phonon::Gstreamer::MediaObject::chapterChanged(int)
Object::connect: No such signal Phonon::Gstreamer::MediaObject::availableChaptersChanged(int)
Object::connect: No such signal Phonon::Gstreamer::MediaObject::angleChanged(int)
Object::connect: No such signal Phonon::Gstreamer::MediaObject::availableAnglesChanged(int)
Query failed: Cannot read table of contents.
This CD was not found.
Comment 1 Luc Menut 2009-06-28 23:36:07 UTC
I confirm that KsCD doesn't work properly if there are more than one CD/DVD drive
on the PC.
In fact, part of the bug is in kscd, but there are also bugs in xine and gstreamer backend which don't use the CD drive set in mediasource.
xine -> https://bugs.kde.org/show_bug.cgi?id=198218
gstreamer -> https://bugs.kde.org/show_bug.cgi?id=198216 (with patch)

The attached patch add the support of multiple CD drive in kscd.
Comment 2 Luc Menut 2009-06-28 23:39:46 UTC
Created attachment 34898 [details]
add support in kscd of multiple CD drives
Comment 3 Frédéric Buclin 2009-07-20 17:05:04 UTC
Severity "normal" only?? "major" would be a minimum, IMO.
Comment 4 Maciej Mrozowski 2009-08-29 22:37:18 UTC
Confirmed on 4.3 branch (kdemultimedia r1015270)
Comment 5 Nicolas L. 2009-09-24 10:36:10 UTC
can someone review luc patch please ?
Comment 6 Philippe Didier 2009-09-27 00:54:45 UTC
It works on Mandriva cooker !!!!!
Beautiful work indeed !
Bravo et merci à Nicolas et à Luc
Comment 7 Frédéric Buclin 2012-05-30 22:42:47 UTC
So when do you plan to integrate Luc's patch into KDE? This bug is really annoying.
Comment 8 groot 2020-04-14 19:03:37 UTC
KSCD was quietly ejected about two years ago since it never was ported to KDE Frameworks or Qt5. I'm closing this as "sorry, this is never going to be fixed in a newer product."

I'd still like to thank Luc for that patch, unregarded for over a decade -- I hope at least Mandriva took it to good use.