Allow to add keys in `.thumbnailer` desktop files to extend the options defined in `tumbler.rc`.
I can't find a specification for these files. The closest I can find seems to be this blog post by Philip Withnall. It has two required keys for the mime type and the command to be executed, and an optional key to test that command.
The format described in Tumbler's doc contains a few other generic keys whose presence or absence should not change anything (only the Exec
and MimeType
keys are parsed into the code to my knowledge). So I guess the format is free and we can add whatever we want as key, but maybe it's better to follow the recommendations of the spec for .desktop
files.
So we could add keys that would extend the options defined in tumbler.rc
to external thumbnailers (Disabled
, Priority
, etc.). This seems useful because from the user's point of view, only the thumbnailers count, and if all Tumbler plugins are identifiable with a single thumbnailer, the desktop-thumbnailer
plugin appears to be a bit of an abstract plugin, whose thumbnailers it contains cannot be properly set (whereas they are precisely the thumbnailers the user can add, and they are called "Customized Thumbnailers" in the doc).
See also #31 (closed).