kottke.org home archives + xml about kottke.org contact me
kottke.org - home of fine hypertext products

The Compact Disk Database

The CDDB is a huge user-generated database of information related to music CDs: album titles, songs, artist information, genre, and about 50 other attributes. The CDDB has been around since 1995, an early example of what is now referred to as Web services. Most computer CD players will automatically contact the CDDB database when you play a CD on your computer (if you're connected to the Internet), allowing you to see song titles while it's playing. The CDDB information comes in especially handy when you rip MP3s from CDs: the newly minted MP3s are tagged with the CDDB info.

Since the CDDB server is contacted each time a CD is played on a computer, the database contains lots of information about what's being played. Gracenote, the company that controls the CDDB, publishes top 10 lists for several genres each week. For the most part, people are listening to the same stuff that you see on MTV's TRL.

To store all that information in a useful way, each CD needs a unique identifier in the CDDB database. Before I started poking around a little, I assumed that each CD was burned with a unique key parcelled out by an agency like ISBNs for books. What actually happens is when the information from a CD is placed in the CDDB for the first time, the CD's TOC is stored in the database as the identifier for that CD. The TOC contains the lengths of all the tracks as well as the starting sectors of each track. That means that TOC is not necessarily unique...it's merely almost unique, causing the occasional misidentification.

More about this page

This entry was published on July 24, 2002 at 11:44 pm.

kottke.org is a weblog about the liberal arts 2.0 edited by Jason Kottke since March 1998. You can read about me and kottke.org here. If you've got questions, concerns, or an interesting link for me, send them along. Here's the kottke.org RSS feed kottke.org RSS feed.

Advertisement

dot dot dot

Advertise on kottke.org via The Deck.

Looking for work? Tags, tags, tags!

Many posts on kottke.org have been "tagged" with keywords, which activity results in collections of related posts like sports, infoviz, or bestof.

Recently popular tags (last 3 weeks)

barackobama   2008election   video   movies   bestof   design   food   books   photography   nyc   lists   remix   music   tv   politics

All-time popular tags

movies   photography   books   nyc   science   food   lists   design   business   sports   video   weblogs   music   bestof   art

Some of my favorite tags

photography   economics   lists   bestof   infoviz   food   nyc   firstworldproblems   cities   restaurants   video   timelapse   interviews   language   maps   fashion   nsfw   remix  

Random tags

sunshine   prison   cities   barcade   marypoppins   lifeafterpeople   realestate   cars   fundraising   hosseinderakhshan   fridakahlo   sony   pentagram   movies   im

kottke.org

You're visiting kottke.org. All content by Jason Kottke (contact me) unless otherwise noted, with some restrictions on its use. Good luck will come to those who dig around in the archives. If you've reached this point by accident, I suggest panic. In memory of DFW, rest in peace. Thanks for everything.