aboutsummaryrefslogtreecommitdiff
path: root/emms-setup.el
diff options
context:
space:
mode:
authorPetteri Hintsanen <petterih@iki.fi>2021-03-10 22:58:03 +0200
committerPetteri Hintsanen <petterih@iki.fi>2021-03-10 23:02:24 +0200
commite16ac3ddc4bbe7078098e1b6d18243eb4b5b255e (patch)
treedc0d53a52f143f1530a6d8b2fe9113754daa553a /emms-setup.el
parent60c6172fb0ec78fc70cf8329e9be5842c041107b (diff)
Set new default info methods in emms-all
Set emms-info-methods to emms-info-native and emms-info-cueinfo in emms-all.
Diffstat (limited to 'emms-setup.el')
-rw-r--r--emms-setup.el9
1 files 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))