"Internal" Metadata Support Plugin #676
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR deals with the long-standing #324 and is an adoption of #325 to the refactored metadata support (c.f. #467).
The code is taken 1:1 from #325 and adopted to the new plugin-based metadata support schema, by making it a standalone plugin. No changes to vimiv are required to make it work.
First and foremost, I do not think that internal is appropriate anymore. This naming was chosen, as the information provided was coming from vimiv infernally, opposed to by an external library. I called it general, but that is also not really a good name.
Secondly, I am not sure if it really makes sense to make this an official plugin, or whether I should maintain it myself. I do not really mind, it is up to you to decide.
Code-wise this should be done.Due to #650 the extration of the filetype does not work as before. Need to figure out a new way to implment that. But if we decide to merge, then I need to adopt the docs and potentially add tests first.implements #324
replaces #325