Is this possible??? Some has the code to this or know how to make it????
This was quoted from the cddb.com site:
"You may not aggregate or collect Content from this Site. Content from
Gracenote may not be used to construct any kind of on-line or computer
database and it may not be published in any form. You may not collect,
transfer or transmit Content derived from the CDDB database or any
other Content from this Site."
CDDB was bought a while ago and is now a commercial only site.
However, check out www.freedb.org Their database is just as complete
if not larger (if not larger now that most people are switching).
There are already a few freedb components. Search on Google. "access
freedb with delphi"
If you're going the DYI approach, start your search here:
http://www.freedb.org/modules.php?name=Sections&sop=listarticles&secid=2
They describe in great detail the nuts-and-bolts of accessing the
freedb database programmatically, but you won't find any Delphi
related material. With a few Indy components and the specs from above,
it sounds like an interesting project. Good luck!
Roger
Yes, it is possible. But you have to sign up with Gracenote (the
owners of the CDDB) as a developer, which is free if you don't make
money from your software, and download their SDK, which is basically
an ActiveX component. The SDK includes examples, but not in Delphi,
though it isn't too hard to follow the VB and or C++ ones.
There is a little bit more to it than just connect, read and
disconnect. But I've played around with it a bit and it is fairly
straight forward...
Or as was also suggested, you could use the freedb.org database.
There are a few components around for it and they seem simple to
use.
--
Gecko
Yes, i'm registered as a developer in gracenote, but the SDK, as all code
i've found, only has possibility of querying the database by CD ID, and what
i want is to retrieve data relative to CD by artist name and album name...
>Yes, i'm registered as a developer in gracenote, but the SDK, as all code
>i've found, only has possibility of querying the database by CD ID, and what
>i want is to retrieve data relative to CD by artist name and album name...
>
Ok I get you now...and I think you'll find that you're out of luck.
But IIRC you can search the CDDB website using title/artist. Maybe
you could look into using http to send a search/query and parsing
the resultant html? Though I think that the web search only gave you
very limited info - just a track listing.
--
Gecko