CD information

Anselm Lingnau

Message 54052 · 3 Nov 2008 11:45:58 · Fixed-width font · Whole thread

Previous message: CD information (mlamontbrown)
Next message: CD information (Ian Brown)
Previous in thread: CD information (mlamontbrown)
Next in thread: CD information (Ian Brown)

Malcolm Brown wrote:

> Gracenote is the one accessed by the programme I am currently using -
> http://en.wikipedia.org/wiki/CDDB gives a description of how it works and
> its history. (I believe that if a CD is not in the database, or if the data
> is incorrect, it is possible to change the data in the database, as well as
> on the local computer).

One idea that crosses my mind every so often is to extend the DanceData web
frontend on http://my.strathspey.org/ to function as a CDDB (a.k.a.
Gracenote) protocol server. Any CD-reading program based on Gracenote or its
freely available cousin, FreeDB, could be pointed to it to have instant
access to the database's info on SCD CDs. For added credit, if we were asked
for a CD that is not in the database (maybe because it is not an SCD CD), we
could bounce the request off to FreeDB (if not Gracenote) and see what that
turns up, so the program would also work for non-SCD content and hence could
be used as the default CDDB server for SCD aficionados who also listen to
non-SCD music on occasion. The advantage of this approach would be that we
would instantly have standardised track titles, band and album names by
virtue of the effort Alan has put into getting all of these organised for the
database.

The main problem with this project is that we would need to figure out the
indexes CDDB calculates from the track lengths and offsets of tracks on the
CD. This is easy to do (given appropriate software) if you have access to the
actual CD but cannot be automated just from the track listings in DanceData.
(A more detailed description is on the Wikipedia page Malcolm cited.) This
calls for an approach where everyone checks their CD shelves (or the data for
already-ripped CDs on their computers) and sends me just the CDDB1 IDs for
their CDs, which I would incorporate in the database. In actual practice, we
would have a special page listing CDs in the database that didn't have a
CDDB1 value yet, so one could compare that list against one's stash of CDs in
order to save effort; a new index submission for any CD would instantly
remove it from the to-do list and make that CD accessible via CDDB1, just
like on a Gracenote server. The to-do list would start out listing all SCD
CDs in the database (probably minus the ones I own myself), and its length
would hopefully diminish very quickly.

Incidentally, there are now 248 albums in DanceData listed as »available on
CD«. Sounds eminently doable.

Anselm
--
Anselm Lingnau, Friedberg, Germany ..................... xxxxxx@xxxxxxxxxx.xxx
Of all the great programmers I can think of, I know of only one who would
voluntarily program in Java. And of all the great programmers I can think of
who don't work for Sun, on Java, I know of zero.- Paul Graham, _Great Hackers_

Previous message: CD information (mlamontbrown)
Next message: CD information (Ian Brown)
Previous in thread: CD information (mlamontbrown)
Next in thread: CD information (Ian Brown)
A Django site.