summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-15 15:51:02 -0500
committerCraig Jennings <c@cjennings.net>2025-10-15 15:51:02 -0500
commit55a8009d7be688d0ebd77f28837fb4cd38a5f4e8 (patch)
tree9c540bff003d79c87a7379b2c221132f946d56b8 /modules
parent68e67bbe9b351b1d5498cf7b9ee752a78c8f24e8 (diff)
fix: only use mpd to play music; fix space in playlist buffername
Diffstat (limited to 'modules')
-rw-r--r--modules/music-config.el16
-rw-r--r--modules/undead-buffers.el2
2 files changed, 15 insertions, 3 deletions
diff --git a/modules/music-config.el b/modules/music-config.el
index f8ecb31d..15b6b660 100644
--- a/modules/music-config.el
+++ b/modules/music-config.el
@@ -49,6 +49,17 @@
;; Requirements:
;; - MPD (Music Player Daemon) running on localhost:6600
;;
+;; Debug Notes:
+;; If you want to verify what players are currently in your list, you can evaluate:
+;;
+;; #+begin_src emacs-lisp
+;; ;; Check current player list
+;; emms-player-list
+;;
+;; ;; Check which player would be used for a specific file
+;; (emms-player-for '(*track* (type . file) (name . "~/music/The Beatles/1 (Remastered)/01 Love Me Do (Mono Remastered).flac")))
+;; #+end_src
+;;
;; Custom functions are defined separately from the use-package declaration to facilitate unit testing.
;;; Code:
@@ -492,7 +503,8 @@ in the current window and provides appropriate feedback."
(require 'emms-source-playlist)
(emms-all)
- (emms-default-players)
+ ;; I only want to use mpd to play. To add the defaults: (emms-default-players)
+ (setq emms-player-list '(emms-player-mpd))
;; MPD configuration
(add-to-list 'emms-player-list 'emms-player-mpd)
@@ -502,7 +514,7 @@ in the current window and provides appropriate feedback."
;; EMMS settings
(setq emms-source-file-default-directory cj/music-root
- emms-playlist-buffer-name "*EMMS Playlist*"
+ emms-playlist-buffer-name "*EMMS-Playlist*"
emms-playlist-default-major-mode 'emms-playlist-mode)
;; modeline shows nothing
diff --git a/modules/undead-buffers.el b/modules/undead-buffers.el
index 711b657b..428ed870 100644
--- a/modules/undead-buffers.el
+++ b/modules/undead-buffers.el
@@ -18,7 +18,7 @@
;;; Code:
(defvar cj/buffer-bury-alive-list
- '("*dashboard*" "*scratch*" "*EMMS Playlist*" "*Messages*" "*ert*" "*AI-Assistant*")
+ '("*dashboard*" "*scratch*" "*EMMS-Playlist*" "*Messages*" "*ert*" "*AI-Assistant*")
"Buffers to bury instead of killing.")
(defun cj/kill-buffer-or-bury-alive (buffer)