diff options
Diffstat (limited to '.emacs.d/modules')
-rw-r--r-- | .emacs.d/modules/thanos-multimedia.el | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/.emacs.d/modules/thanos-multimedia.el b/.emacs.d/modules/thanos-multimedia.el index df22f6d..362307f 100644 --- a/.emacs.d/modules/thanos-multimedia.el +++ b/.emacs.d/modules/thanos-multimedia.el @@ -34,14 +34,36 @@ (require 'straight) (require 'emms) -(setf emms-player-list '(emms-player-mpv) - emms-player-mpv-parameters '("--no-video") - emms-info-functions '(emms-info-native) - emms-playlist-buffer-name "*Music*" - emms-source-file-default-directory "~/Music") - - -;(define-key emms-playlist-mode-map (kbd "A") #'emms-add-directory-tree) +;;** EMMS + ;; Autoload the id3-browser and bind it to F7. + ;; You can change this to your favorite EMMS interface. + (autoload 'emms-smart-browse "emms-browser.el" "Browse with EMMS" t) + (global-set-key [(f7)] 'emms-smart-browse) + + (with-eval-after-load 'emms + (emms-standard) ;; or (emms-devel) if you want all features + (setq emms-source-file-default-directory "~/Music" + emms-info-asynchronously t + emms-show-format "♪ %s") + + ;; Might want to check `emms-info-functions', + ;; `emms-info-libtag-program-name', + ;; `emms-source-file-directory-tree-function' + ;; as well. + + ;; Determine which player to use. + ;; If you don't have strong preferences or don't have + ;; exotic files from the past (wma) `emms-default-players` + ;; is probably all you need. + (emms-default-players) + + ;; For libre.fm see `emms-librefm-scrobbler-username' and + ;; `emms-librefm-scrobbler-password'. + ;; Future versions will use .authoinfo.gpg. + ) + + +(define-key emms-playlist-mode-map (kbd "A") #'emms-add-directory-tree) (define-key thanos/applications-map (kbd "e") 'emms) |