Setup `emms' favoring MPV over MPD
This commit is contained in:
parent
ff9abf7a67
commit
ee797947fa
16
README.org
16
README.org
@ -6582,7 +6582,8 @@ command, and makes a minimal attempt to enable =emms=.
|
||||
:END:
|
||||
|
||||
The link [[https://sqrtminusone.xyz/posts/2021-09-07-emms/][my emms and elfeed setup]] is a nice introduction to configuring and
|
||||
using =emms= with =elfeed=. Listing [[lst:set-emms-options]] configures =emms=.
|
||||
using =emms= with =elfeed=. Listing [[lst:set-emms-options]] configures =emms=
|
||||
favoring =mpv= over =mpd=.
|
||||
|
||||
#+caption[Set =emms= options]:
|
||||
#+caption: Set =emms= options.
|
||||
@ -6590,9 +6591,10 @@ using =emms= with =elfeed=. Listing [[lst:set-emms-options]] configures =emms=.
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(when (ensure-package-installation 'emms)
|
||||
(with-eval-after-load 'emms
|
||||
(setopt emms-player-list '(emms-player-mpd emms-player-mpv))
|
||||
(emms-all))
|
||||
|
||||
(emms-all)
|
||||
;; When (executable-find "mpd") finds the "mpd" executable,
|
||||
;; get rid off `emms-player-mpd' after calling `emms-all'.
|
||||
(setopt emms-player-list '(emms-player-mpv)))
|
||||
(with-eval-after-load 'emms-mode-line
|
||||
(setopt emms-mode-line-format ""))
|
||||
|
||||
@ -6604,7 +6606,11 @@ using =emms= with =elfeed=. Listing [[lst:set-emms-options]] configures =emms=.
|
||||
|
||||
(with-eval-after-load 'emms-player-mpv
|
||||
(setopt emms-player-mpv-ipc-method 'ipc-server
|
||||
emms-player-mpv-update-metadata t))
|
||||
emms-player-mpv-update-metadata t)
|
||||
;; Uncomment the next line in case of too many broken YouTube links:
|
||||
;; (add-to-list 'emms-player-mpv-parameters "--ytdl-format=best" 'append)
|
||||
;; (add-to-list 'emms-player-mpv-parameters "--config=no" 'append)
|
||||
(add-to-list 'emms-player-mpv-parameters "--fullscreen" 'append))
|
||||
|
||||
(with-eval-after-load 'emms-playing-time
|
||||
(setopt emms-playing-time-display-format " %s "))
|
||||
|
Loading…
Reference in New Issue
Block a user