Skip to content

[Feature Request]: File/Media Type Search #574

Closed
@python357-1

Description

@python357-1

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

Description

this issue is from the tagstud.io roadmap

Being able to search for files by file type (i.e. extension, like jpg, png, etc) and media type (image, plaintext, etc) would be helpful, especially for untagged files.

Solution

Two new search methods:
filetype: - a search method that searches by each entry's suffix (this functionality may be able to be done by using path:)
mediatype: - a search method that searches by extensions included in each MediaCategory's extensions property

For example, searching filetype:jpg would only show files with a suffix of jpg (NOT jpeg, though that could be added), and searching by mediatype:image would show all files with an extension that is included in _IMAGE_SET, _IMAGE_RAW_SET, and _IMAGE_VECTOR_SET.

Alternatives

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions