diff options
-rw-r--r-- | emms-player-mpd.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el index 6a69174..73cb297 100644 --- a/emms-player-mpd.el +++ b/emms-player-mpd.el @@ -716,13 +716,12 @@ playlist." (setq emms-player-mpd-status-timer (run-at-time t emms-player-mpd-check-interval 'emms-player-mpd-detect-song-change))))) + ;; we only want to play one track, so don't start the timer (emms-player-mpd-send "play" nil (lambda (closure response) - (setq emms-player-mpd-status-timer - (run-at-time t emms-player-mpd-check-interval - 'emms-player-mpd-detect-song-change)))))) + (emms-player-started 'emms-player-mpd))))) (defun emms-player-mpd-start-and-sync-1 (buffer) (when emms-player-mpd-status-timer |