in reply to How do I get a CD's label?

Viking,
I suppose what you are asking is, how do I get the Artist and Album name from a CD? The short answer is that it's not contained on the CD, and what you have to do is ask a database for that information (called a CDDB database), using a value derived from the CD's tracks and lengths of tracks as the ID to that database (which can return the track names as well).

There is a CDDB module available at CPAN, and there are many online CDDB databases you can access (such as cddb.cddb.com and freedb.freedb.com).

Ciao (got to go to work, or I'd answer in more detail),
Gryn

Replies are listed 'Best First'.
RE: RE: How do I get a CD's label?
by gryng (Hermit) on Jul 05, 2000 at 18:52 UTC
    I see now that Viking is asking for something different. However I've been grokking CPAN, but I can't find any module that provides that information. You'll probably have to use some other 3rd party utility to grep the information. (such as the cdrecord -V option you mentioned). I'm not at a Linux box, so I can't look very easily at what tools are available there.

    Good luck!
    Gryn