music.mpd.play should add the resource at the beginning of the

current tracklist and play it, not clear the whole tracklist.
This commit is contained in:
Fabio Manganiello 2020-01-01 21:16:27 +01:00
parent 135cfc606c
commit 77ff88360b

View file

@ -94,8 +94,9 @@ class MusicMpdPlugin(MusicPlugin):
"""
if resource:
self.clear()
self.add(resource)
self.add(resource, position=0)
return self.play_pos(0)
return self._exec('play')
@action