I'm writing a program for myself to keep track of the cds in my cd collection. In order to avoid the tedious task of having to type in the title/artist info for each track on the cd, I would like to have an interface allowing me to read the info off of the cd in my cd-rom drive.
My question: how do I do this? I've had a rough time searching for this on google - I know the javax.sound library is used for ripping the music off of the cd, but I'm unable to find out how I pull the title/artist info - I have no interest in pulling the songs off of the cd for this app.
If anyone can help me with this, I appreciate it. I searched for threads dealing with this subject in this forum but found none - if I missed it, and this has been previously answered, a link to the previous answer would be more than enough.
I could be wrong (I have no personal experience here), but my understanding is that the info you want is not on the CD. Because of this, online databases of CD title/artist/track data have been set up; first the no-longer-free CDDB, and now FreeDB. Using such a database, you can compute a sort of checksum for a disk and then look up the information from your software. Check out the FreeDB web site for technical info on using their database.
Using Google I found this. It seems to be able to connect to a FreeDB server, and also read CD information (using CDDriveWin / CDDriveLin). It does require a DLL file though, which you can get at http://www.antelmann.com/developer/.
As I suggested, this may be about two different things and I'll take responsibility for that.
I am interested in reading the disc proper, not FreeDB. I could not locate the linked files anywhere and despite the age of the post the best available option was to try the longshot that someone had it offline since this appears to be the only place it is referenced and therefore the best place to ask.
I'll continue my search, and thanks.
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad: