From e16ac3ddc4bbe7078098e1b6d18243eb4b5b255e Mon Sep 17 00:00:00 2001 From: Petteri Hintsanen Date: Wed, 10 Mar 2021 22:58:03 +0200 Subject: 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)) -- cgit v1.2.3