Skip to content

Commit

Permalink
emms hide cover art
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Bin committed May 20, 2023
1 parent bb23ae4 commit 2930e18
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lisp/init-emms.el
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,16 @@ If INPUT-P is t, `my-emms-playlist-random-track-keyword' is input by user."
;; show current track info
(my-emms-show))

(with-eval-after-load 'emms-player-simple
(define-emms-simple-player mplayer '(file url)
(concat "\\`\\(http[s]?\\|mms\\)://\\|"
(apply #'emms-player-simple-regexp
emms-player-base-format-list))
"mplayer" "-slave" "-quiet" "-really-quiet" "-vo" "null")

(define-emms-simple-player mplayer-playlist '(streamlist)
"\\`http[s]?://"
"mplayer" "-slave" "-quiet" "-really-quiet" "-vo" "null" "-playlist"))

(provide 'init-emms)
;;; init-emms.el ends here

0 comments on commit 2930e18

Please sign in to comment.