emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emms e8f28b8692: emms-browser.el: Use pre-defined conve


From: ELPA Syncer
Subject: [elpa] externals/emms e8f28b8692: emms-browser.el: Use pre-defined convert when caching thumbnails
Date: Thu, 5 Dec 2024 09:58:05 -0500 (EST)

branch: externals/emms
commit e8f28b86929bb32d1074d988e3397b1e8009c22d
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@gnu.org>

    emms-browser.el: Use pre-defined convert when caching thumbnails
    
    * emms-browser.el (emms-browser-cache-thumbnail): When actually
    attemptitng to call the convert program, the pre-configured and
    pre-checked emms-browser-thumbnail-convert-program should be used,
    instead of re-searching for the convert executable again.
---
 AUTHORS         | 1 +
 emms-browser.el | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS
index a739ad5864..e708ecae16 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -62,6 +62,7 @@ David Michael
 Dieter Deyke            <deyke@yahoo.com>
 Dirk-Jan C. Binnema     <djcb.bulk@gmail.com>
 ericalinag              <ericalinagebhart@gmail.com>
+hiecaq                   <this@hiecaq.org>
 Ian D                   <dunni@gnu.org>
 Ian Dunn
 Jesse Weinstein                 <jessw@netwood.net>
diff --git a/emms-browser.el b/emms-browser.el
index ca42ae4fe0..4bb2782cb8 100644
--- a/emms-browser.el
+++ b/emms-browser.el
@@ -2165,7 +2165,7 @@ will always use the same cover per folder.
                  ;; TODO: Add image resizing support to Emacs.
                  (setq msg (with-output-to-string
                              (with-current-buffer standard-output
-                               (setq err (call-process (executable-find 
"convert") nil '(t t) nil
+                               (setq err (call-process 
emms-browser-thumbnail-convert-program nil '(t t) nil
                                                        "-resize" (format 
"%sx%s" size-value size-value)
                                                        cover
                                                        cache-dest-file)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]