aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-mpd.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index a2aa884..5dac00a 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -623,7 +623,9 @@ Afterward, the status of MusicPD will be tracked."
(emms-cancel-timer emms-player-mpd-status-timer)
(setq emms-player-mpd-status-timer nil)
(setq emms-player-stopped-p t)
- (emms-player-mpd-send "stop")
+ (condition-case nil
+ (emms-player-mpd-send "stop")
+ (error nil))
(emms-player-stopped))
(defun emms-player-mpd-pause ()