>> you may get by adding this line:
> 
> Another problem is that OGG is just a container format. The file may not be a 
> single vorbis stream, but several, or a video stream, etc. Container formats 
> are pretty neat - at least that one tells you what is in the OGG. Your code 
> will just tell the user that it is really an ogg, but not much more :(

there are many (asf, quicktime, realmedia).  each has a mime type, but
the mime types do not identify the internal contents.  it is enough to
decide what handler to give it to. that's adequate for file.

Reply via email to