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

Wellll,

Start programming *eh* maybe in perl ?? Oh no(mistake) try to analyze the problem first and think then of starting to code.

When you got a specific problem post it here and we wil help you.

This is the kind of question That's not specific enough to answer. Please post problems and not howto's. Tackle the problem yourself first and when you stumble on a problem post or post to see if someone has a better way to do it.

--
My opinions may have changed,
but not the fact that I am right

Replies are listed 'Best First'.
RE: Re: How do I get a CD's label?
by Viking (Beadle) on Jul 05, 2000 at 13:02 UTC
    Sorry I did not make my self very clear. I can do all of it except get the the CD label from the CD. I don't even know if linux can recognize these anyway. The CD label I am referring to is what results from the -V option in cdrecord. Does that make sense. Recursively going thru the directorys on the CD and reading id3 tags from the files is not a problem :)
      Without knowing much about CD-ROM file systems (except that Joliet is the M$ 'extended' standard, as far as I know -- and is different from the ISO one), if you say that cdrecord -V gives you what you want, why don't you do:

      $cd_label = `cdrecord -V`;
      Obviously, this isn't very portable, and I try to steer clear of system calls unless they are absolutely essential, but if it's just a simple script for your own use, you may as well.....