Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Identifying CDs

I'd like to be able to determine what music album CD is in a CD drive. For example, if someone claims that the CD in their drive is Eminem - The Eminem Show, I would like to be able to verify that the CD is indeed The Eminem Show.

Any ideas? I've applied for a Gracenote developer license, but they won't get back to me for five days.

Also, how does this work? Is there some GUID or other unique identifier that music discs are encoded with?

Lastly, might this be possible with data CDs, like, say, the Diablo II install Disc 1? If so, any directions you can point me in, for accomplishing this?

like image 554
core Avatar asked Feb 23 '09 02:02

core


1 Answers

You may want to look a the Wikipedia article to learn how CDDB work. Then you can look at libcddb to implement what you want in C. The source code should give you plenty of clues in case C is not your language of choice.

like image 183
David Segonds Avatar answered Oct 22 '22 09:10

David Segonds