From fdeeccf264efe9e738e41113b4cea7a8f4b08e23 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 26 Aug 2022 22:09:53 -0700 Subject: [PATCH] [oni-emms] Set up emms-mpd --- oni-emms.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/oni-emms.el b/oni-emms.el index 59e9a3c..f87d1c0 100644 --- a/oni-emms.el +++ b/oni-emms.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2022.0817.142820 +;; Version: 2022.0826.220523 ;; Package-Requires: (emms) ;; This program is free software; you can redistribute it and/or modify @@ -28,8 +28,14 @@ (require 'emms) (require 'emms-player-mpv) +(require 'emms-player-mpd) + +(add-to-list 'emms-info-functions 'emms-info-mpd) (add-to-list 'emms-player-list 'emms-player-mpv) +(add-to-list 'emms-player-list 'emms-player-mpd) + +(setq emms-player-mpd-music-directory (expand-file-name "~/music")) (provide 'oni-emms) ;;; oni-emms.el ends here