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

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

[elpa] externals/emms e16ac3d 78/80: Set new default info methods in emm


From: Stefan Monnier
Subject: [elpa] externals/emms e16ac3d 78/80: Set new default info methods in emms-all
Date: Wed, 17 Mar 2021 18:42:34 -0400 (EDT)

branch: externals/emms
commit e16ac3ddc4bbe7078098e1b6d18243eb4b5b255e
Author: Petteri Hintsanen <petterih@iki.fi>
Commit: Petteri Hintsanen <petterih@iki.fi>

    Set new default info methods in emms-all
    
    Set emms-info-methods to emms-info-native and emms-info-cueinfo in
    emms-all.
---
 emms-setup.el | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/emms-setup.el b/emms-setup.el
index 5bf9396..9754c5c 100644
--- a/emms-setup.el
+++ b/emms-setup.el
@@ -86,6 +86,7 @@ the stable features which come with the Emms distribution."
     (require 'emms-info-metaflac)
     (require 'emms-info-tinytag)
     (require 'emms-info-exiftool)
+    (require 'emms-info-native)
     (require 'emms-cache)
     (require 'emms-mode-line)
     (require 'emms-mark)
@@ -114,12 +115,7 @@ the stable features which come with the Emms distribution."
   ;; setup
   (setq emms-playlist-default-major-mode 'emms-playlist-mode)
   (add-to-list 'emms-track-initialize-functions 'emms-info-initialize-track)
-  (when (executable-find emms-info-mp3info-program-name)
-    (add-to-list 'emms-info-functions 'emms-info-mp3info))
-  (when (executable-find emms-info-ogginfo-program-name)
-    (add-to-list 'emms-info-functions 'emms-info-ogginfo))
-  (when (executable-find emms-info-opusinfo-program-name)
-    (add-to-list 'emms-info-functions 'emms-info-opusinfo))
+  (setq emms-info-functions '(emms-info-native emms-info-cueinfo))
   (setq emms-track-description-function 'emms-info-track-description)
   (when (fboundp 'emms-cache)          ; work around compiler warning
     (emms-cache 1))
@@ -127,7 +123,6 @@ the stable features which come with the Emms distribution."
   (emms-mode-line-blank)
   (emms-lyrics 1)
   (emms-playing-time 1)
-  (add-to-list 'emms-info-functions 'emms-info-cueinfo)
   (add-hook 'emms-player-started-hook 'emms-last-played-update-current)
   (emms-score 1))
 



reply via email to

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