Device UDI: /org/freedesktop/Hal/devices/storage_serial_Slimtype_DVD_A_DS8A4S_FFFFFFFE0D912 150372883_0_0
Device URL: file:///dev/sr0
Thanks for the feedback. Basically, I want to read the artist information, trqack offsets, and other information I need to get the CD information from freedb. This project is a jukebox program with an integrated CD ripper, or at least it will be once I figure out how to read the CD.
The data seems fine. Solid seems to be working and returning proper data. If I had to guess, I would say the problem is the data arrives asynchronously and you have to wait for the discInformation() or discChanged() signal. If you get them (you might have to reinsert the disc into the drive) then you know you get proper information and can try to read them.
You can also try calling metadataLookup() after setting the device. Just bouncing off ideas... I'm running out of them anyway, the class is quite simple, there is hardly anything that could fail here. Could you try preparing a minimal compilable example reproducing the problem? Just please keep it minimal and compilable
By the way, I found the refreshListOfCdromDevices() function. It's a static function in libkcompactdisc.cpp.
Solved it. Turns out I trued when I should have falsed. In the line:
x = Disc->setDevice(Disc->defaultCdromDeviceName(),50,true,Disc->audioSystems().at(0));
the parameter true should be false. Once I changeThanks for all the help.
Bookmarks