mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
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
@ -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…
x
Reference in New Issue
Block a user