Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: How do I get a CD's label?

by Miker (Scribe)
on Jul 05, 2000 at 22:28 UTC ( #21184=note: print w/replies, xml ) Need Help??

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

I hacked this out of CD::Info, you can find it at
open CD, "</dev/cdrom"; sysseek(CD, 32808, 0); read CD, $data, 32; print "cd label is $data\n";
it only works on data cds though, but as you said this is for an mp3 collection that should be ok, right? :) Miker

Replies are listed 'Best First'.
RE: Re: How do I get a CD's label?
by Viking (Beadle) on Jul 06, 2000 at 03:28 UTC
    Thanks heaps Miker That worked perfectly, and also the guy who wrote that module had also written a CD catalog similar to what I am doing. So now I can use some of that code too. Or extend his program or something :) This is just too cool.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://21184]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2023-02-09 00:09 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (44 votes). Check out past polls.