From 62f6576e19ba0135589a299c930a9acdb5004bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kliment?= Date: Sun, 30 Aug 2015 16:11:44 +0200 Subject: [PATCH] fixes MPD play/pause --- homeassistant/components/media_player/mpd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/media_player/mpd.py b/homeassistant/components/media_player/mpd.py index aca2413d3e4..b0c4208a647 100644 --- a/homeassistant/components/media_player/mpd.py +++ b/homeassistant/components/media_player/mpd.py @@ -189,11 +189,11 @@ class MpdDevice(MediaPlayerDevice): def media_play(self): """ Service to send the MPD the command for play/pause. """ - self.client.start() + self.client.pause(0) def media_pause(self): """ Service to send the MPD the command for play/pause. """ - self.client.pause() + self.client.pause(1) def media_next_track(self): """ Service to send the MPD the command for next track. """