From a33416f6dcf0f9212b5680c814ce21b2c3315480 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Fri, 8 Dec 2006 22:35:00 +0000 Subject: emms-player-mpd: Document how to use MusicPD to change the volume via emms-volume.el darcs-hash:20061208223509-1bfb2-9566bd733009216ccf1b12e5c3ca17cc67db8d4e.gz --- emms-player-mpd.el | 5 +++++ emms.texinfo | 7 +++++++ 2 files changed, 12 insertions(+) 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. -- cgit v1.2.3