I'm running "VLC 2.1.5 Rincewind" on Windows XP SP3, and have experienced the same issues that all you've described earlier...
Have also made some interesting findings about this ( applying debuging tools ) that I would like to share:
--Getting NO Results for Audio CD Tracks:
The biggest finding is that VLC, unlike all other CDDB-enabled programs that I've tested, seems very often to "miscalculate"
the Audio CD "DiskID" hash that is used to query and retrieve the Title and tracks info from FreeCDDB.org ( the most popular CD database ) and its mirros... This could explain why we get no CD info at all when replacing the default settings (freedb.videolan.org ) with the alternative : freedb.freedb.org , under:
VLC > Tools > show All > Inputs&Codecs > Access modules > Audio CD > CDDB Server
--Getting Wrong Results for Audio CD Tracks:
Using the default settings, VLC first tries to connect to freedb.videolan.org server, which in turn redirects it to this FreeCDDB mirror: freedb.musicbrainz.org.
Here I paste a typical query captured from the tcp connections stablished between VLC and the CDDB server:
GET /~cddb/cddb.cgi?cmd=cddb+query+b90fb70d+13+0+23216+50523+76836+93014+122908+141076+161343+186067+207190+224950+252362+27508
There, you can see the CDDB query, consisting of the calculated diskid hash ( see
http://discid.sourceforge.net/ for a little program that can calculate this magic number for your Audio CD) followed by the exact lengths of all the tracks in your Audio CD ( for more details:
http://en.wikipedia.org/wiki/CDDB and search for "CDDB protocol" ).
Then, it sometimes gets the right title and track info from the server, but most of the time we see wrong results displayed on VLC playlist for the CD tracks, Why is that happening ? Because when musicbrainz server ( acting as a freedb mirror, but unlike the real freedb.org server ) does not find an exact match for disckid hash and track lengths , it responses anyway (can you believe it! ), first with this warning code :
211 Found inexact matches, list follows
And then, VLC ask for the "inexact match" :
GET /~cddb/cddb.cgi?cmd=cddb+read+misc+00109f1e&hello=vlc+videolan.org+libcddb+1.3.2&proto=6 HTTP/1.0
And finally the CDDB sever responds passing the "inexact" CD title and list of tracks:
210 OK, CDDB database entry follows
So, as far as I have seen, VLC only gets the first two alfanumeric numbers wrong when calculating the diskid hash, but all other last six numbers seems OK ( compared with diskids calculated by other programs which retrieve CDDB info without issues, as "CoolCD Studio" for example, or by executing "diskid.exe" , which you can donwload from here:
http://ufpr.dl.sourceforge.net/project/ ... 1.3.tar.gz ).
Shall do more research this week and tell if found something interesting. Regards!