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:
parent
135cfc606c
commit
77ff88360b
1 changed files with 3 additions and 2 deletions
|
@ -94,8 +94,9 @@ class MusicMpdPlugin(MusicPlugin):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if resource:
|
if resource:
|
||||||
self.clear()
|
self.add(resource, position=0)
|
||||||
self.add(resource)
|
return self.play_pos(0)
|
||||||
|
|
||||||
return self._exec('play')
|
return self._exec('play')
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
Loading…
Reference in a new issue