On Tue, September 18, 2007 9:15 pm, Wade Curry wrote:
> Lan Barnes([EMAIL PROTECTED])@Tue, Sep 18, 2007 at 02:37:01PM -0700:
>> Can anyone point me to a utility, URL, or code snippet that would allow
>> me
>> to put a music CD in a linux box and read the names of the song tracks?
>>
>
> There isn't a utility to get the information from the disc because
> the title information isn't there.  There's only the raw sound
> data.  The reason your CD player can show you the titles is because
> it queries an external database.  CDDB is one of them, but IIRC
> they started trying to make money off of the data that people had
> given them freely.  The other one (and the one your CD player
> probably uses) is FREEDB.
>
> One command line utility that I've heard can do this is surfraw.
> It's a CLI frontend to tons of different web search engines.
>
> http://surfraw.alioth.debian.org/#elvilist  gives the full list of
> supported engines which includes debpackages, ebay, freshmeat,
> amazon, pgpkeys, RFCs, IMDB, lastFM... you get the picture.
>
> I can't test it at the moment, but this or a utility like it is
> your best bet, I think.
>
> Wade Curry
> syntaxman
>
>

Actually, I believe this is in error. My noodling (can't call it research)
shows that cddb music CDs do have a TOC on the disk. The utility cdstatus
will spill it.

The internet access theory is nice, but doesn't explain why stand-alone
devices (like a car CD player or a laptop off the net) can see the titles.

I've also found that some CDs don't have this TOC, although they often do
have a header with the album name, artists, etc.

-- 
Lan Barnes

SCM Analyst              Linux Guy
Tcl/Tk Enthusiast        Biodiesel Brewer


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to