Add emms default dir to library when loaded

This commit is contained in:
Evie Litherland-Smith 2024-03-16 10:55:22 +00:00
parent 71f7bb5005
commit 073601fad1

View file

@ -34,7 +34,9 @@
(emms-all) (emms-all)
(emms-default-players) (emms-default-players)
(emms-mpris-enable) (emms-mpris-enable)
(add-hook 'emms-player-started-hook #'emms-show)) (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)))
#+end_src #+end_src
* MPV * MPV
#+begin_src emacs-lisp #+begin_src emacs-lisp