Variable: dirvish-preview-dispatchers
dirvish-preview-dispatchers is a customizable variable defined in
dirvish.el.
Value
(video image gif audio epub archive font pdf)
Documentation
List of preview dispatchers.
Each dispatcher in this list handles the validation and preview content generation for the corresponding filetype.
The default value contains:
- image: preview image files, requires vipsthumbnail.
- gif: preview GIF image files with animation.
- video: preview videos files with thumbnail.
requires ffmpegthumbnailer on Linux/macOS | mtn on Windows
- audio: preview audio files with metadata, requires mediainfo.
- epub: preview epub documents, requires epub-thumbnailer.
- pdf: preview pdf with thumbnail generated by pdftoppm.
- font: preview font files, requires magick.
- archive: preview archives such as .tar, .zip, requires 7z (7zz on macOS).
Source Code
;; Defined in /nix/store/1gijwny2yx4fggrsb9l110h1ybs1gdk5-emacs-packages-deps/share/emacs/site-lisp/elpa/dirvish-20260725.1520/dirvish.el
(defcustom dirvish-preview-dispatchers
`(,(if (memq system-type '(ms-dos windows-nt)) 'video-mtn 'video)
image gif audio epub archive font pdf)
"List of preview dispatchers.
Each dispatcher in this list handles the validation and preview
content generation for the corresponding filetype.
The default value contains:
- image: preview image files, requires `vipsthumbnail'.
- gif: preview GIF image files with animation.
- video: preview videos files with thumbnail.
requires `ffmpegthumbnailer' on Linux/macOS | `mtn' on Windows
- audio: preview audio files with metadata, requires `mediainfo'.
- epub: preview epub documents, requires `epub-thumbnailer'.
- pdf: preview pdf with thumbnail generated by `pdftoppm'.
- font: preview font files, requires `magick'.
- archive: preview archives such as .tar, .zip, requires `7z' (`7zz' on macOS)."
:group 'dirvish :type '(repeat (symbol :tag "Dirvish preview methods")))