From 976d1266c71cf33ae0fa51b799e85b0465d58db2 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Wed, 4 Jan 2006 22:47:00 +0000 Subject: 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 --- emms-player-mpd.el | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'emms-player-mpd.el') 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." -- cgit v1.2.3