Add EMMS player for OS X

This commit is contained in:
Jeremy Dormitzer 2019-02-05 08:44:24 -05:00
parent 4f0c3bf0b9
commit 474b4ef6d0

View File

@ -2360,7 +2360,12 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th
(leader-def-key "aen" 'emms-next)
(leader-def-key "aep" 'emms-previous)
(leader-def-key "aee" 'emms)
(leader-def-key "aed" 'emms-play-directory-tree))
(leader-def-key "aed" 'emms-play-directory-tree)
(when (eq system-type 'darwin)
(define-emms-simple-player afplay '(file)
(regexp-opt '(".mp3" ".m4a" ".aac"))
"afplay")
(setq emms-player-list `(,emms-player-afplay))))
#+END_SRC
* Direnv