Also start playback when adding a playlist

This commit is contained in:
Fabio Manganiello 2017-12-29 12:44:49 +01:00
parent 26c3afee68
commit b6733b3e6a

View file

@ -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')