diff --git a/README.org b/README.org index 5cb5794..d2010f5 100644 --- a/README.org +++ b/README.org @@ -6399,12 +6399,6 @@ for ~mpv~ while eliminating use of ~mpd~. (with-eval-after-load 'emms-mode-line (setopt emms-mode-line-format "")) - (with-eval-after-load 'emms-player-mpd - (setopt emms-player-mpd-music-directory (expand-file-name "~/Music") - emms-player-mpd-server-name "localhost" - emms-player-mpd-server-port "6600" - emms-player-mpd-verbose t)) - (with-eval-after-load 'emms-player-mpv (setopt emms-player-mpv-update-metadata t) ;; Uncomment the next two lines in case of too many broken YouTube links: @@ -6416,76 +6410,11 @@ for ~mpv~ while eliminating use of ~mpd~. (with-eval-after-load 'emms-playing-time (setopt emms-playing-time-display-format " %s ")) - (with-eval-after-load 'emms-playlist-mode - (setopt emms-playlist-mode-center-when-go t)) - (with-eval-after-load 'emms-streams (setopt emms-streams-file (no-littering-expand-etc-file-name "emms/streams.emms")))) #+end_src -*** Hiding spurious buffers :noexport: -:PROPERTIES: -:CUSTOM_ID: sec:hiding-spurious-buffers -:END: - -When =emms-player-mpd= opens a connection to =mpd= and =mpd= is not running, -=mpd= responds with a message of the form "OK MPD 0.23.5". Neither -=emms-player-mpd= nor its support library =tq= anticipate the "OK MPD 0.23.5" -message, but send such messages to a new intrusive buffer called =*spurious*=. -Listing [[lst:hiding-spurious-buffers]] hides those =*spurious*= buffers, but you -can always switch to them. See: -1. [[info:elisp#The Zen of Buffer Display][The Zen of Buffer Display (info)]] -2. [[https://e17i.github.io/articles-emacs-display-1/][Configuring the Emacs display system]] -3. [[https://www.masteringemacs.org/article/demystifying-emacs-window-manager][Demystifying Emacs's Window Manager]] -for technical information. - -#+caption[Hiding =*spurious*= buffers]: -#+caption: Hiding =*spurious*= buffers. -#+name: lst:hiding-spurious-buffers -#+begin_src emacs-lisp -n :results silent -(with-eval-after-load 'emms-player-mpd - ;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager - ;; Hide `*spurious*' buffers, but you can always switch to them: - (add-to-list 'display-buffer-alist - '("\\*spurious\\*.*" display-buffer-no-window - (allow-no-window . t)))) -#+end_src - -*** [[https://www.musicpd.org/][Music Player Daemon]] configuration :noexport: -:PROPERTIES: -:CUSTOM_ID: sec:mpd-configuration-file -:header-args:conf: :tangle no -:END: - -Listing [[lst:darwin-mpd-conf]] proposes a [[https://www.musicpd.org/][Music Player Daemon]] configuration file on -Darwin that keeps each new connection for a day in order to reduce the rate of -=*spurious*= generation. - -#+caption[A Music Player Daemon configuration file on Darwin]: -#+caption: A Music Player Daemon configuration file on Darwin. -#+name: lst:darwin-mpd-conf -#+begin_src conf -n :tangle (if (eq 'darwin system-type) "~/.mpd/mpd.conf" "no") -music_directory "~/Music" -playlist_directory "~/.mpd/playlists" -db_file "~/.mpd/mpd.db" -log_file "~/.mpd/mpd.log" -pid_file "~/.mpd/mpd.pid" -state_file "~/.mpd/mpdstate" -follow_outside_symlinks "yes" -follow_inside_symlinks "yes" - -bind_to_address "localhost" -port "6600" -connection_timeout "86400" - -audio_output { - type "osx" - name "CoreAudio" - mixer_type "software" -} -#+end_src - * [[info:emacs#Init File][Init File (info)]] footer :PROPERTIES: :CUSTOM_ID: sec:user-init-file-footer