Add emms and configure it to work with mpd.

This commit is contained in:
Mateus Pinto Rodrigues
2019-10-24 12:42:22 -03:00
parent d881154a27
commit 305b0f5a83
2 changed files with 22 additions and 0 deletions

16
elisp/emms-mpd-setup.el Normal file
View File

@@ -0,0 +1,16 @@
(require 'emms-setup)
(require 'emms-player-mpd)
(emms-all)
(setq emms-seek-seconds 5)
(setq emms-player-list '(emms-player-mpd))
(setq emms-info-functions '(emms-info-mpd))
(setq emms-player-mpd-server-name "localhost")
(setq emms-player-mpd-server-port "6700")
;:bind
;("s-m p" . emms)
;("s-m b" . emms-smart-browse)
;("s-m r" . emms-player-mpd-update-all-reset-cache)
;("<XF86AudioPrev>" . emms-previous)
;("<XF86AudioNext>" . emms-next)
;("<XF86AudioPlay>" . emms-pause)
;("<XF86AudioStop>" . emms-stop)