diff options
Diffstat (limited to '.emacs.d/modules')
-rw-r--r-- | .emacs.d/modules/thanos-multimedia.el | 40 |
1 files changed, 9 insertions, 31 deletions
diff --git a/.emacs.d/modules/thanos-multimedia.el b/.emacs.d/modules/thanos-multimedia.el index d16a99b..2e8b833 100644 --- a/.emacs.d/modules/thanos-multimedia.el +++ b/.emacs.d/modules/thanos-multimedia.el @@ -30,41 +30,19 @@ ;;; Code: ;; EMMS - -(require 'straight) (require 'emms) +(autoload 'emms-smart-browse "emms-browser.el" "Browse with EMMS" t) +(define-key thanos/applications-map (kbd "e") 'emms-smart-browse) -;;** 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) - (define-key thanos/applications-map (kbd "e") '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. - ) - +(with-eval-after-load 'emms + (emms-all) + (setq emms-source-file-default-directory "~/Music" + emms-info-asynchronously t + emms-show-format "♪ %s") + (emms-default-players)) (define-key emms-playlist-mode-map (kbd "A") #'emms-add-directory-tree) -(define-key thanos/applications-map (kbd "e") 'emms) +(define-key thanos/applications-map (kbd "e") 'emms-smart-browse) (defun yeetube-download-vimeo-videos () |