[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: Burn.app 0.3.0

From: lukekendall
Subject: Re: ANN: Burn.app 0.3.0
Date: Thu, 27 Feb 2003 21:58:27 +1100 (EST)

On 27 Feb, Andreas Heppel wrote:
>  Unfortunately, tracks  
>  on an audio CD apart from not having a file extension don't have a MIME-type 
>  or something similar either (AFAIK) 

The Unix "file" utility doesn't depend on MIME types.  What happens if
you try this experiment:

    for each track file f
        FILE *stream;
        char buff[1024];
        char s[1024];

        stream = popen(sprintf(s, "dd if=%s bs=1000c count=1", f));
        fgets(buff, sizeof buff, stream);
        printf("File %s is of type: %s\n", buff);

Does that provide the needed info?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]