Tagsistant
Tagsistant copied to clipboard
top level mimetypes - e.g. all images
in folder 'tagsistant_mount/store/file:/mimetype/' i miss top-level type names, without subtypes.
...so i can easily:
- list all images
- list all videos
- list all text files
- list all audio files ...
'The currently registered top-level type names are: application, audio, example, image, message, model, multipart, text, video.' https://en.wikipedia.org/wiki/Media_type
You can easily implement this by creating the top-level triple tags and then establishing relations between those and their more specific counterparts, like in:
$ mkdir -p mpoint/tags/file:/mimetype/audio
$ mkdir -p mpoint/relations/file:/mimetype/audio/includes/file:/mimetype/audio-mp3
$ mkdir -p mpoint/relations/file:/mimetype/audio/includes/file:/mimetype/audio-wav
and so on. May be this should be added to the bootstrap SQL script executed to declare the DB schema.