Skip to content

Commit

Permalink
More minor EMMS configuration.
Browse files Browse the repository at this point in the history
 * Load all functionalities (emms-all instead of emms-standard).
 * Faster file finding.
 * Show current trac name and time in modeline.
 * Use emms-lyrics to get and display lyrics.
  • Loading branch information
Fidel Ramos committed Sep 8, 2010
1 parent ec43058 commit 39318ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 143 deletions.
16 changes: 13 additions & 3 deletions dot-emacs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@

; (add-to-list 'load-path "~/emms/") ; if not installed via APT
(require 'emms-setup)
(emms-standard)
(emms-all)
(emms-default-players)

; show song name when changing tracks
Expand All @@ -350,7 +350,17 @@
; ALSA output
(setq emms-player-mpg321-parameters '("-o" "alsa"))

(require 'emms-get-lyrics)
; Faster file finding (won't work on Windows, but who cares?)
(setq emms-source-file-directory-tree-function 'emms-source-file-directory-tree-find)

; Current track name and time in modeline
(emms-mode-line 1)
(emms-playing-time 1)

; Lyrics library
(require 'emms-lyrics)
(emms-lyrics)
(setq emms-lyrics-dir "~/music/.lyrics/")

; Look for lyrics on Google
(defun emms-google-for-lyrics ()
Expand Down Expand Up @@ -390,7 +400,7 @@
(define-key emms-playlist-mode-map "S" 'emms-shuffle)
; utilities
(global-set-key (kbd "s-s") 'emms-shuffle)
(global-set-key (kbd "C-x M-l") 'emms-get-lyrics-current-song)
(global-set-key (kbd "C-x M-l") 'emms-lyrics-toggle)
(global-set-key (kbd "C-x M-g") 'emms-google-for-lyrics)
(global-set-key (kbd "C-x M-b") 'emms-smart-browse)
(global-set-key (kbd "C-x M-p") 'emms-playlist-mode-go)
Expand Down
140 changes: 0 additions & 140 deletions emms-get-lyrics.el

This file was deleted.

0 comments on commit 39318ef

Please sign in to comment.