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

Attachment: pgpyxI2608wq5.pgp
Description: PGP signature

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to