View Full Version : CDDB Protocol?

04-17-2002, 10:40 AM
I hope this is the right place...

For my simple Music Player...
I'de like to know how to know what CD I have.
I know you need to connect to freedb.freedb.org/~cddb/cddb.cgi
But what do I send? please help =\

04-17-2002, 11:18 AM
I found how to do it..
But have another problem that maybe you can help me with.
I need to send the "disc id", how can I know the disc id?
And I need to send "Frame offset of the starting location of each track.", is this the starting point in seconds of each track?

04-17-2002, 12:51 PM
Have a look at freedb.org they give example code.

04-18-2002, 11:31 PM
Thank you, I will skip on the DiscID, I found it's not that important and may work without.
So for a start...I'll just need to know what the hell is "Frame Offset"?
How do I retrive it from lets say...winamp for a file?

04-19-2002, 02:32 AM
It is all part and one of the same, Disc ID plus all the track offsets are needed that is what identifies a CD disc.

04-19-2002, 06:48 AM
Well I may have a way to find the DiscID, but I have no clue what is the frame offset...?