Clear mpd source playlist when not playing a playlist (#44164)

Prevents unexpected behavior.
This commit is contained in:
Crash 2020-12-13 03:10:51 -08:00 committed by GitHub
parent 8255815688
commit 8979c4987f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,6 +365,7 @@ class MpdDevice(MediaPlayerEntity):
self._client.play()
else:
self._client.clear()
self._currentplaylist = None
self._client.add(media_id)
self._client.play()