forked from platypush/platypush
Also start playback when adding a playlist
This commit is contained in:
parent
26c3afee68
commit
b6733b3e6a
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ class MusicMpdPlugin(MusicPlugin):
|
||||||
return self._exec('add', resource)
|
return self._exec('add', resource)
|
||||||
|
|
||||||
def playlistadd(self, playlist):
|
def playlistadd(self, playlist):
|
||||||
return self._exec('playlistadd', playlist)
|
self._exec('playlistadd', playlist)
|
||||||
|
return self.play()
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
return self._exec('clear')
|
return self._exec('clear')
|
||||||
|
|
Loading…
Reference in a new issue