Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Problem with CDDB while ripping an Audio CD
#1
Hello, I have a problem with Kodi that I'm trying to resolve without success...
I have Kodi v21 installed on Windows 11 and I can't rip an audio CD with it (if i want the CD informations).

Initially, I had the following error message:
Error [3] Error open socket
After some research here, I changed the CD info server by creating an advancedsettings.xml file in UserData containing:
 
Code:
<advancedsettings version="1.0">
     <cddbaddress>gnudb.gnudb.org</cddbaddress>
</advancedsettings>

This still doesn't work, but the issue is different now. The CD info retrieval window seems to be stuck.
Either it stays frozen and I have to kill the Kodi process, or after a while I get the error message:
Error [401] Specified CDDB entry not found.

Here's the log :
Code:
2024-07-19 09:18:27.172 T:10576   debug <general>: Xcddb::openSocket - connecting to: 2a01:4f8:c012:3d6::1:8880 ...
2024-07-19 09:18:28.225 T:3268    debug <general>: CIRServerSuite::Connect: failed to connect
2024-07-19 09:18:28.225 T:3268     info <general>: CIRServerSuite::Process: failed to connect to irss, will keep retrying every 5 seconds
2024-07-19 09:18:29.424 T:10576   debug <general>: Xcddb::openSocket - connecting to: 88.99.83.71:8880 ...
2024-07-19 09:18:29.512 T:10576   debug <general>: Xcddb::Recv Captured 75 bytes // Buffer= 75 bytes. Captured data follows on next line
                                                   200 gnudb.org CDDBP server v1.0.1 ready at Fri, 19 Jul 2024 09:18:30 +0200
                                                  
2024-07-19 09:18:29.555 T:10576   debug <general>: Xcddb::Recv Captured 55 bytes // Buffer= 55 bytes. Captured data follows on next line
                                                   200 Hello and welcome [email protected] running Kodi 21.0..
                                                  
2024-07-19 09:18:29.598 T:10576   debug <general>: Xcddb::Recv Captured 36 bytes // Buffer= 36 bytes. Captured data follows on next line
                                                   201 OK, CDDB protocol level now: 5.
                                                  
2024-07-19 09:18:30.690 T:10576   debug <general>: Xcddb::Recv Captured 77 bytes // Buffer= 77 bytes. Captured data follows on next line
                                                   200 misc c40c7a0f Pascal JEAN-Jean BRENDERS / UN MOMENT DE DETENTE MUSICALE
                                                  
2024-07-19 09:18:35.042 T:4748    debug <general>: [WS-Discovery]: The initial servers search has completed successfully with 1 server(s) found:
                                                   127.0.0.1
2024-07-19 09:18:55.213 T:5588    debug <general>: Thread JobWorker 5588 terminating (autodelete)
2024-07-19 09:18:55.213 T:14048   debug <general>: Thread JobWorker 14048 terminating (autodelete)
2024-07-19 09:18:55.225 T:6496    debug <general>: Thread JobWorker 6496 terminating (autodelete)
2024-07-19 09:19:34.468 T:14236   debug <general>: CAESinkDirectSound::Deinitialize: Cleaning up
2024-07-19 09:24:45.324 T:10576   error <general>: Xcddb::Recv Error reading buffer. lenRead = [0] and WSAGetLastError = [0]
2024-07-19 09:24:45.324 T:10576   debug <general>: Xcddb::Recv Captured 123 bytes // Buffer= 123 bytes. Captured data follows on next line
                                                   401 misc c40c7a0f. No such CD entry in database.
                                                   530 gnudb.org Inactivity timeout after 375" seconds, closing connection.
                                                  
2024-07-19 09:24:45.324 T:10576   error <general>: Xcddb::queryCDinfo Error: "401 misc c40c7a0f. No such CD entry in database.
                                                   530 gnudb.org Inactivity timeout after 375" seconds, closing connection.
                                                   "

What can i try?
Thanks for your help.

P.S.: My setup is a bit unique: it’s actually a modified RockOla JukeBox that uses Kodi instead of the original, now obsolete software. It would be really great if audio CD ripping could work with Kodi, even though I know this feature is no longer maintained.
Reply
#2
No idea?

The problem is the same for just reading an audio CD.
Reply
#3
Is the problem with one particular disc only, or all disks. Because the error seems to indicate that particular disk is the problem...
No such CD entry in database.

Can I ask why you use Kodi to rip CD's? There are much better solutions for cd ripping.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#4
This does not work with any disk. In the logs I have the impression that the server finds the name of the disk correctly :

Xcddb::Recv Captured 77 bytes // Buffer= 77 bytes. Captured data follows on next line
200 misc c40c7a0f Pascal JEAN-Jean BRENDERS / UN MOMENT DE DETENTE MUSICALE

I would really like it to work with Kodi, because it's a Jukebox and the Windows interface is not at all suitable (it's not a multi-touch screen, only one point).
I use the estouchy addon.

In fact the problem is also found in reading, not just for ripping.
So I find it a shame not to be able to recover the information from the disk (track01, track02...)

Image
Reply
#5
If i manually search the discid on the gnudg.org website, i can found the informations :
https://gnudb.org/cd/mic40c7a0f (for example with that CD)
Reply
#6
Maybe @black_eagle might be able to help.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
I've given up using Kodi to rip CDs years ago. It was always a very basic feature and there are much better ripping programs available (many of them FOSS). This has long been an issue, e.g. see this post by Kodi music guru Dave Blake. Also, GnuDB is basically a fork of CDDB, and the CDDB API was always rather clunky. I remember the days of AudioGrabber vividly <shiver>

// FvW
Reply
#8
I shouldn't have insisted on ripping the CD because it's also annoying to read.

Isn't it just possible to have Kodi use MusicBrainz or something to identify the CD? (without necessarily ripping it)
Reply
#9
If you use something like Exact Audio Copy then that uses Musicbrainz data to tag the resulting files as it comes with a plugin for that as standard. There's also the CUETools Database Plugin for EAC that uses various methods including Musicbrainz, discogs and FreeDB to fetch metadata.

Be aware that support for Estouchy has been dropped in recent versions of Kodi, so if you have something that's working for you, I'd strongly recommend sticking with your current version.
Learning Linux the hard way !!
Reply
#10
Since I'm using dBpoweramp for ripping, I never looked back.
If the data is not available with their databases, I'm editing it manually with Mp3Tag.
Reply
#11
(2024-07-23, 15:15)Cyrus40 Wrote: Isn't it just possible to have Kodi use MusicBrainz or something to identify the CD? (without necessarily ripping it)

Yeah, I think this is a bug, since the issue also happens when loading a CD into a drive on a system running Kodi. Last time I tried, I was presented with a list of 6 versions of the CD entered, and no matter which one I selected, nothing happened. So, physical audio playback on Kodi is rather broken it appears, unless I'm missing something.
I use the outstanding Tidal2 KODI Add-On to stream music, along with rips of my CD collection.
Check out my CD library if you want:
Growing CD Collection
Reply
#12
A fix has been PR'd... https://github.com/xbmc/xbmc/pull/25700
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#13
This is great news. I assume it's been tagged for 21.2? I can't tell from the Github issue page if it's going to ship in 21.2 or 22.0 (or both).
I use the outstanding Tidal2 KODI Add-On to stream music, along with rips of my CD collection.
Check out my CD library if you want:
Growing CD Collection
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with CDDB while ripping an Audio CD0