1
0
Fork 0
emacs-config/oni-emms.el

42 lines
1.3 KiB
EmacsLisp
Raw Normal View History

2022-08-17 23:50:25 +02:00
;;; oni-emms.el --- Configuration for EMMS -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Tom Willemse
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
2022-08-27 07:09:53 +02:00
;; Version: 2022.0826.220523
2022-08-17 23:50:25 +02:00
;; Package-Requires: (emms)
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Configuration for EMMS. Loads and sets up EMMS to play CDs with MPV.
;;; Code:
(require 'emms)
(require 'emms-player-mpv)
2022-08-27 07:09:53 +02:00
(require 'emms-player-mpd)
(add-to-list 'emms-info-functions 'emms-info-mpd)
2022-08-17 23:50:25 +02:00
(add-to-list 'emms-player-list 'emms-player-mpv)
2022-08-27 07:09:53 +02:00
(add-to-list 'emms-player-list 'emms-player-mpd)
(setq emms-player-mpd-music-directory (expand-file-name "~/music"))
2022-08-17 23:50:25 +02:00
(provide 'oni-emms)
;;; oni-emms.el ends here