PDA

View Full Version : CDDB Protocol?



mule
04-17-2002, 11: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 =\

mule
04-17-2002, 12:18 PM
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?

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

mule
04-19-2002, 12:31 AM
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?

Spoon
04-19-2002, 03: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.

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