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:
Jose Juan Montes 2017-02-11 10:07:31 +01:00 committed by Pascal Vizeli
parent 3a7309ab62
commit f5c58748b7

View file

@ -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()