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

Thiago Macieira thiago at kde.org
Sun Nov 26 15:55:05 EET 2006


James "Doc" Livingston wrote:
>This would work, as music players could search for files that have
>audio/* and no video/* types. The only question is whether any/all of
>the backend searchers do this, as it would make it awkward for what to
>do to depend on the backend.

If they don't, they should probably be fixed to support it.

For instance, seeing an .ogg file and assuming it's Vorbis is wrong (it 
could be FLAC). Just as it would be wrong to not inspect and know what it 
is internally.

If a file type is a container type, the indexer has to be smart enough to 
look inside it. A good example are zip files, which can be OpenDocument 
too.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20061126/3fa6c43e/attachment.pgp 


More information about the xdg mailing list