[EMMS] Explicitly set track description function *after* setup
‘emms-all’ will set ‘emms-track-description-function’ on it’s own, not paying respect to previous settings or customize.
This commit is contained in:
parent
219ca22b0f
commit
a1678dc0b3
5
init.el
5
init.el
|
@ -1608,12 +1608,15 @@ are assumed to be of the form *.crt."
|
|||
:init (setq emms-source-file-default-directory "~/Documents/media/audio/"
|
||||
emms-player-list '(emms-player-mplayer emms-player-mplayer-playlist)
|
||||
emms-show-format "NP: %s"
|
||||
emms-track-description-function 'db/emms-track-description
|
||||
emms-stream-default-action "play")
|
||||
:config (progn
|
||||
(emms-all)
|
||||
(emms-default-players)
|
||||
|
||||
;; Reset track description function to personal configuration (it’s
|
||||
;; overwritten by `emms-all’
|
||||
(setq emms-track-description-function 'db/emms-track-description)
|
||||
|
||||
(advice-add 'emms-tag-editor-submit
|
||||
:after (lambda (&rest r)
|
||||
(ignore r)
|
||||
|
|
Loading…
Reference in New Issue