simple search api (was Re: mimetype standardisation by testsets)

James "Doc" Livingston doclivingston at gmail.com
Tue Nov 28 09:13:25 EET 2006


On Mon, 2006-11-27 at 14:33 -0500, Joe Shaw wrote:
> Shouldn't this be the job of the MIME detection code instead?  To
> inspect the container and say "this is audio/x-vorbis+ogg" or "this is
> video/x-theora+ogg" ?  That way it works correctly desktop-wide.

As Thiago mentioned, this doesn't work very well. You'll need mime-types
for all the other possible codecs that can go into an Ogg container,
plus deal with containers that contain multiple streams. And then repeat
this for all the other containers.

I think the "have backends report multiple mimetypes" idea is an elegant
solution.


Cheers,

James "Doc" Livingston
-- 
On two occasions I have been asked [by members of Parliament!], `Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question. --Charles Babbage




More information about the xdg mailing list