You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jfdelnero there is a Freedesktop standard for that; The directory /usr/share/thumbnailers contains *.thumbnailer files with the following schema (example):
The Exec= line tells you how the thumbnailer should be called, (%s: size; %u: url/filepath; %o: output file). It will write the thumbnail to the given output PNG file.
However I believe it's not umtprd's job to create the thumbnails (there is probably an existing daemon for that). Umtprd should only have to open the thumbnails from ~/.cache/thumbnails/normal/{md5 of file}.png, and if it exist, use this PNG as the thumbnail for the MTP object.
It should be possible to support thumbnails by implementing the "Representative Sample" object properties.
The thumbnailing process itself should be deferred to an external program, pointed to in the config.
The text was updated successfully, but these errors were encountered: