Merge pull request #295 from renekliment/mpd-pause-fix

fixes MPD play/pause
pull/297/head
Paulus Schoutsen 2015-08-30 14:55:20 -07:00
commit 335eb10d11
1 changed files with 2 additions and 2 deletions

View File

@ -214,11 +214,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. """