>From: Oliver Eichler <[EMAIL PROTECTED]>

>What would be the best strategy to auto-detect the content of a CD and thus 
>the correct method to copy?

>Reading the TOC via:

>cdrecord dev=y,x,z -toc

>and check for the control value of each track? But what is the content of the 
>control value? 4 seems to be data, a zero seems to be audio. Couldn't find 
>anything in the docs.

The values are all in cdrecord.h

If you need to know more, you may read the MMC standard or try to get
a copy of the red Book.

>I found cdinfo.c on the ftp.fokus.gmd.de server. Looks prommising. Sadly it 
>does not compile as some ucdrom.h header is missing. Where am I supposed to 
>get it?

cdinfo.c seems not to be actively maintained.... sorry.

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to