Bug 437396

Summary: Wishlist: Only index specific file extensions or mimetypes...
Product: [Frameworks and Libraries] frameworks-baloo Reporter: tagwerk19
Component: Baloo File DaemonAssignee: Stefan BrĂ¼ns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: baloo-bugs-null, nate
Priority: NOR    
Version: 5.82.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tagwerk19 2021-05-20 08:54:49 UTC
SUMMARY:

    Wishlist: To be able to specify which data to index with a "filters"
    and/or "mimetypes" option

POSSIBLE USE CASES:

    To index just audio (by mimetype) by giving

        Mimetypes: audio/* 

    or just (by file extension) images

        Filters: *.jpg,*.jpeg,*.png 

ADDITIONAL INFORMATION

    This is the inverse of the "exclude filters" and "exclude mimetypes"
    options in .config/baloofilerc. There seems to be no way of indexing
    just a certain file type.

    There's a potential knock-on effect to the Dolphin search prompts,
    some clever footwork may be required not to offer, for example,
    searches of "images" if only "audio" has been indexed
Comment 1 tagwerk19 2021-05-20 11:49:48 UTC
See also Bug 437189
    Allow "index file content" per file type so it can be enabled
    for media but not for documents.

*** This bug has been marked as a duplicate of bug 437189 ***