-
Notifications
You must be signed in to change notification settings - Fork 1
/
my-emms.el
40 lines (33 loc) · 1.06 KB
/
my-emms.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;;; my-emms --- EMMS Setup
;;
;;; Commentary:
;;
;;
;;
;;; Code:
;; Require prerequisites
(eval-when-compile (require 'use-package))
(require 'my-vars)
(use-package emms-setup
:config
(emms-all)
(emms-default-players))
(use-package emms
:map
:config
(setq emms-source-file-default-directory (if I-am-at-work
"/export/music"
"/home/alex/media/music")
emms-playlist-buffer-name "*Music*"
emms-source-file-directory-tree-function 'emms-source-file-directory-tree-find
emms-show-format "NP: %s"
emms-track-description-function 'emms-track-simple-description))
(use-package emms-info-mp3info)
(use-package emms-info-ogginfo)
(use-package emms-browser)
(provide 'my-emms)
;;; my-emms.el ends here
;; emms-playlist-buffer-name "*Music*"
;; emms-source-file-directory-tree-function 'emms-source-file-directory-tree-find)
;; (global-set-key (kbd "<XF86AudioPlay>") 'emms-pause)
;; (define-key dired-mode-map (kbd "C-q") 'emms-add-dired)