From 589554ad16887ef0cd01a732201449fa370cbc1c Mon Sep 17 00:00:00 2001 From: Robin Clarke Date: Mon, 24 Sep 2018 11:16:28 +0200 Subject: [PATCH] Allow soundtouch to play https content too (#16713) --- homeassistant/components/media_player/soundtouch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/media_player/soundtouch.py b/homeassistant/components/media_player/soundtouch.py index a16658501cb..b8ade374a46 100644 --- a/homeassistant/components/media_player/soundtouch.py +++ b/homeassistant/components/media_player/soundtouch.py @@ -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))