diff options
-rw-r--r-- | emms-playlist-mode.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el index f4de0dc..48bad44 100644 --- a/emms-playlist-mode.el +++ b/emms-playlist-mode.el @@ -470,9 +470,15 @@ This preserves the current EMMS buffer." When NO-NEWLINE is non-nil, do not insert a newline after the track." (emms-playlist-ensure-playlist-buffer) (emms-with-inhibit-read-only-t - (insert (emms-propertize (emms-track-force-description track) - 'emms-track track - 'face 'emms-playlist-track-face)) + (if (emms-track-get track 'thumbnail) + (insert (emms-propertize + (emms-track-force-description track) + 'emms-track track + 'face 'emms-playlist-track-face + 'display (create-image (emms-track-get track 'thumbnail)))) + (insert (emms-propertize (emms-track-force-description track) + 'emms-track track + 'face 'emms-playlist-track-face))) (when (emms-playlist-selected-track-at-p) (emms-playlist-mode-overlay-selected)) (if no-newline |