diff options
author | Michael Olson <mwolson@gnu.org> | 2006-12-08 22:35:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-12-08 22:35:00 +0000 |
commit | a33416f6dcf0f9212b5680c814ce21b2c3315480 (patch) | |
tree | d3bc851ab1aadd48baab4fca4e86b6a2487b5505 | |
parent | 3c42fe2cc29a102faddc818a74fac9dfe34bbeac (diff) |
emms-player-mpd: Document how to use MusicPD to change the volume via emms-volume.el
darcs-hash:20061208223509-1bfb2-9566bd733009216ccf1b12e5c3ca17cc67db8d4e.gz
-rw-r--r-- | emms-player-mpd.el | 5 | ||||
-rw-r--r-- | emms.texinfo | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el index 1fd15f7..1fc42ec 100644 --- a/emms-player-mpd.el +++ b/emms-player-mpd.el @@ -74,6 +74,11 @@ ;; ;; (add-to-list 'emms-info-functions 'emms-info-mpd) +;; To change the volume using MusicPD, do the following. +;; +;; (setq emms-volume-lower-function 'emms-volume-mpd-lower +;; emms-volume-raise-function 'emms-volume-mpd-raise) + ;; Add 'emms-player-mpd to the top of `emms-player-list'. ;; ;; (add-to-list 'emms-player-list 'emms-player-mpd) diff --git a/emms.texinfo b/emms.texinfo index d07196c..461de10 100644 --- a/emms.texinfo +++ b/emms.texinfo @@ -1664,6 +1664,13 @@ order to prime the cache. @subsubheading emms-volume.el integration +To activate this, add the following to your .emacs. + +@example +(setq emms-volume-lower-function 'emms-volume-mpd-lower + emms-volume-raise-function 'emms-volume-mpd-raise) +@end example + @defopt emms-player-mpd-volume-change-amount The amount to use when raising or lowering the volume using the emms-volume interface. |