fixes MPD play/pause
This commit is contained in:
parent
9ecac9e934
commit
62f6576e19
1 changed files with 2 additions and 2 deletions
|
@ -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. """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue