You are not logged in.

#1 2011-07-29 14:35:43

spctrl
Member
Registered: 2010-06-20
Posts: 32

Problem with audiocd kioslave in KDE (4.7)

I can unfortunately not say when this happened as I ripped my albums via the audiocd kioslave years ago, but now that I tried ripping a cd it simply won't work via the kioslave anymore.

Anyway, the problem I'm experiencing (and I have a friend with arch who can reproduce it as well) is that when you go into audiocd:/ in dolphin for example you only get 2 directories - "Full CD" and "Information". No directories for FLAC, MP3, Ogg Vorbis, etc. Also ripping in kaudiocreator (which uses the kioslave) doesn't work - it will give you a list of the tracks on the cd with the proper cddb information, but once you try to rip something it just sits there doing nothing.

Ripping manually with cdparanoia works.
Output from ~/.xsession-errors:

Checking /dev/sr0 for cdrom...
        Testing /dev/sr0 for SCSI/MMC interface
                SG_IO device: /dev/sr0

CDROM model sensed sensed: TSSTcorp CDDVDW SH-S223C SB05 

Checking for SCSI emulation...
        Drive is ATAPI (using SG_IO host adaptor emulation)

Checking for MMC style command set...
        Drive is MMC style
        DMA scatter/gather table entries: 1
        table entry size: 524288 bytes
        maximum theoretical transfer: 222 sectors
        Setting default read size to 27 sectors (63504 bytes).

Verifying CDDA command set...
        Expected command set reads OK.
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
libWorkMan: ERROR: CDROM_SEND_PACKET Input/output error
Advanced probing on /dev/sr0 failed while reading block size
libWorkMan: ERROR: CDROM_SEND_PACKET Input/output error

lots of "Advanced probing on /dev/sr0 failed while reading block size" after that.

I'm just curious why this hasn't been mentioned before.. are me and my friend the only 2 people in the world using audiocd kioslave? Has anyone experienced this, but managed to fix it somehow?

Offline

#2 2011-07-31 15:45:58

spctrl
Member
Registered: 2010-06-20
Posts: 32

Re: Problem with audiocd kioslave in KDE (4.7)

I am a member of "optical", and the permissions of /dev/sr0 seem to be ok (660). Playing a cd works in KsCD, playing a cd does not work in amarok. Ripping a cd works in k3b and in shell with cdparanoia, but not in dolphin or kAudioCreator.

using a device with audiocd:/ makes no difference (e.g. audiocd:/?device=/dev/sr0 or audiocd:/?device=/dev/sg1), and inside the "Information" folder i get "the file or folder does not exist" even when I see "CDDB_Information.txt" in there. And the "Full CD" folder is completely empty.

I just have no idea where this stems from, but I'm starting to lean towards something with udev..

Offline

#3 2011-07-31 18:40:37

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: Problem with audiocd kioslave in KDE (4.7)

Same thing here. But you could rip your CD via K3B, never failed me. smile

Offline

#4 2011-08-01 05:33:34

spctrl
Member
Registered: 2010-06-20
Posts: 32

Re: Problem with audiocd kioslave in KDE (4.7)

Demon, yes indeed. But I still think it's a big fail that audiocd:/ has been broken (for who knows how long).

I opened a bug report some time ago to have it fixed before 4.7 was released but as always there is no response ever on the tracker, sigh.
https://bugs.kde.org/show_bug.cgi?id=277722 please confirm it, if it happens to anyone else.

Offline

#5 2011-08-06 08:55:10

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problem with audiocd kioslave in KDE (4.7)

same problem here as well!

Offline

#6 2011-08-06 14:12:14

gatonero
Member
From: Aachen
Registered: 2010-08-01
Posts: 9

Re: Problem with audiocd kioslave in KDE (4.7)

Same here also since months :-(

Offline

#7 2011-08-18 19:58:21

pogojotz
Member
Registered: 2011-06-29
Posts: 10

Re: Problem with audiocd kioslave in KDE (4.7)

Same problem here... does any one have a solution yet?

Offline

#8 2011-09-07 19:58:12

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Problem with audiocd kioslave in KDE (4.7)

Still broken with KDE 4.7.1.

Offline

#9 2011-09-18 11:19:30

pogojotz
Member
Registered: 2011-06-29
Posts: 10

Re: Problem with audiocd kioslave in KDE (4.7)

Three days ago they made a backport in the svn to solve it:
https://bugs.kde.org/show_bug.cgi?id=277722
http://websvn.kde.org/?revision=1253669&view=revision

I tried it and it works! yeah smile
Not long and it will reach the stable versions...

Offline

#10 2011-09-18 12:21:08

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Problem with audiocd kioslave in KDE (4.7)

pogojotz wrote:

Three days ago they made a backport in the svn to solve it:
https://bugs.kde.org/show_bug.cgi?id=277722
http://websvn.kde.org/?revision=1253669&view=revision

I tried it and it works! yeah smile
Not long and it will reach the stable versions...

They are still using svn ? I thought they have migrated to git :S

Offline

#11 2011-09-18 15:19:13

pogojotz
Member
Registered: 2011-06-29
Posts: 10

Re: Problem with audiocd kioslave in KDE (4.7)

flamelab wrote:

They are still using svn ? I thought they have migrated to git :S

I was surprised too...

Offline

#12 2011-09-18 15:46:45

pogojotz
Member
Registered: 2011-06-29
Posts: 10

Re: Problem with audiocd kioslave in KDE (4.7)

By the way... For the impatient like me, here is a patch code:

--- kdemultimedia-4.7.1/kioslave/audiocd/plugins/audiocdencoder.cpp	2011-06-22 22:40:35.000000000 +0200
+++ kdemultimedia-4.7.1/kioslave/audiocd/plugins/audiocdencoder.cpp	2011-09-18 12:44:29.000000000 +0200
@@ -34,7 +34,7 @@
     kDebug(7117) << "Trying to load library. File: \"" << libFileName.latin1() << "\".";
 #endif
     KLibrary::void_function_ptr cplugin = KLibrary::void_function_ptr(
-               QLibrary::resolve(libFileName, "create_audiocd_encoders"));
+               KLibrary( libFileName ).resolveFunction( "create_audiocd_encoders" ));
     if (!cplugin)
         return NULL;
 #ifdef DEBUG

It's only one line in the kdemultimedia package from extra.
For ABS, just modify the PKGBUILD accordingly, copy the patch into place and Arch will do the rest as usual ^^

Offline

#13 2011-10-06 13:54:21

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: Problem with audiocd kioslave in KDE (4.7)

This should be marked as solved, since 4.7.2 was released.

Offline

#14 2011-10-29 17:07:29

BertiBoeller
Member
Registered: 2009-01-19
Posts: 58

Re: Problem with audiocd kioslave in KDE (4.7)

Strange it doesn't work for me. I'm still having the

Advanced probing on /dev/sr0 failed while reading block size

problem. I've tried the vlc and the gstreamer backends for phonon and it doesn't make any difference. Does anybody else also still have the problem?

Edit: I just realized that this post is about opening audiocds in Dolphin. I see this behavior when I try to playback an audiocd in Amarok.

Last edited by BertiBoeller (2011-10-29 17:24:18)

Offline

Board footer

Powered by FluxBB