Allow soundtouch to play https content too (#16713)
This commit is contained in:
parent
33d6c99f19
commit
589554ad16
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ class SoundTouchDevice(MediaPlayerDevice):
|
|||
def play_media(self, media_type, media_id, **kwargs):
|
||||
"""Play a piece of media."""
|
||||
_LOGGER.debug("Starting media with media_id: %s", media_id)
|
||||
if re.match(r'http://', str(media_id)):
|
||||
if re.match(r'https?://', str(media_id)):
|
||||
# URL
|
||||
_LOGGER.debug("Playing URL %s", str(media_id))
|
||||
self._device.play_url(str(media_id))
|
||||
|
|
Loading…
Add table
Reference in a new issue