Adds play URL support to mpd (makes it work with tts). (#5863)
* Adds play URL support to mpd (makes it work with tts). * Removed extra line at the end of the file.
This commit is contained in:
parent
3a7309ab62
commit
f5c58748b7
1 changed files with 3 additions and 2 deletions
|
@ -266,5 +266,6 @@ class MpdDevice(MediaPlayerDevice):
|
|||
self.client.load(media_id)
|
||||
self.client.play()
|
||||
else:
|
||||
_LOGGER.error(str.format("Invalid media type. Expected: {0}",
|
||||
MEDIA_TYPE_PLAYLIST))
|
||||
self.client.clear()
|
||||
self.client.add(media_id)
|
||||
self.client.play()
|
||||
|
|
Loading…
Add table
Reference in a new issue