emms: ensure cache enabled, don't import directory every startup

This commit is contained in:
Evie Litherland-Smith 2024-04-15 11:09:10 +01:00
parent 30acb0d3fc
commit e661bc09d0

View file

@ -34,9 +34,8 @@
(emms-all)
(emms-default-players)
(emms-mpris-enable)
(add-hook 'emms-player-started-hook #'emms-show)
(when (file-directory-p emms-source-file-default-directory)
(emms-add-directory-tree emms-source-file-default-directory)))
(emms-cache-enable)
(add-hook 'emms-player-started-hook #'emms-show))
#+end_src
* MPV
#+begin_src emacs-lisp