diff options
author | Michael Olson <mwolson@gnu.org> | 2006-01-04 22:47:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-01-04 22:47:00 +0000 |
commit | 976d1266c71cf33ae0fa51b799e85b0465d58db2 (patch) | |
tree | 5aa8e1b8406a6eb4d9a60b68ddc464badc1e4a2a | |
parent | 4bc3739cc8fa888a9708285f50196f2f574b0201 (diff) |
emms-player-mpd: Make it the default to sync the MusicPD playlist with the EMMS playlist, since this is what most EMMS users will probably want.
darcs-hash:20060104224734-1bfb2-36155ee21122b7db68b1c1a2ab3adef713ca523c.gz
-rw-r--r-- | emms-player-mpd.el | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el index f74fd7a..cc91c6b 100644 --- a/emms-player-mpd.el +++ b/emms-player-mpd.el @@ -81,11 +81,8 @@ ;; additional options available as well, but the defaults should be ;; sufficient for most uses. -;; You will have to set `emms-player-mpd-sync-playlist' to non-nil if -;; you want to use MusicPD in a similar way as most other EMMS -;; backends. If your EMMS playlist contains music files rather than -;; playlists, set this to non-nil, otherwise if your EMMS playlist -;; contains stored playlists, leave this set to nil. +;; You can set `emms-player-mpd-sync-playlist' to nil if your master +;; EMMS playlist contains only stored playlists. ;;; TODO @@ -166,14 +163,13 @@ and errors." :type 'boolean :group 'emms-player-mpd) -(defcustom emms-player-mpd-sync-playlist nil +(defcustom emms-player-mpd-sync-playlist t "Whether to syncronize the EMMS playlist with the MusicPD playlist. -If your EMMS playlist contains stored playlists, leave this set -to nil. - If your EMMS playlist contains music files rather than playlists, -set this to non-nil." +leave this set to non-nil. + +If your EMMS playlist contains stored playlists, set this to nil." :type 'boolean :group 'emms-player-mpd) @@ -458,7 +454,8 @@ playlist, and then plays the current track." (interactive) (emms-cancel-timer emms-player-mpd-status-timer) (setq emms-player-mpd-status-timer nil) - (emms-player-mpd-send "stop")) + (emms-player-mpd-send "stop") + (run-hooks 'emms-player-stopped-hook)) (defun emms-player-mpd-pause () "Pause the currently playing song." |