2023-10-26 16:11:52 +01:00
|
|
|
(setq emms-player-list '(emms-player-mpv)
|
2023-10-26 19:56:43 +01:00
|
|
|
emms-info-functions '(emms-info-native)
|
|
|
|
emms-source-file-default-directory "~/Music"
|
|
|
|
emms-lyrics-dir "~/Music/lyrics")
|
2023-10-26 16:11:52 +01:00
|
|
|
|
2023-10-27 08:57:48 +01:00
|
|
|
(when (require 'emms-setup nil :noerror)
|
|
|
|
(emms-all)
|
|
|
|
(when (require 'hydra nil :noerror)
|
|
|
|
(defhydra emms (global-map "C-c e")
|
|
|
|
"emms"
|
|
|
|
("b" emms-smart-browse)
|
|
|
|
("d" emms-show)
|
|
|
|
("s" emms-start)
|
|
|
|
("S" emms-stop)
|
|
|
|
("n" emms-next)
|
|
|
|
("p" emms-previous)
|
|
|
|
("P" emms-pause))))
|
2023-10-27 06:51:20 +01:00
|
|
|
|
2023-10-26 16:11:52 +01:00
|
|
|
(provide 'custom-media-config)
|