-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac/remote: add Quick Look thumbnail as cover fallback
since we load covers/images directly in a our own thread and the quick look thumbnailing also works asynchronously on its own thread, we need sync/coordinate both threads. otherwise it would be possible that a cover from a different file could overwrite the cover of the current file. to prevent this every cover generation has a unique timestamp and only covers for the last cover timestamp will ever be shown. we are also not interested in icon type thumbnails, since those are just generic file type icons. quick look thumbnails can only be generated if quick look can read those files. files unknown to macOS don't work out of the box and you need to install a quick look extension for this, "QuickLook Video" for mkv.
- Loading branch information
Showing
1 changed file
with
44 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters