Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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 http://www.kudla.org/raindog/perl/
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2021-11-27 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?