From 1e248551d56b47e6b8850e6e92352fdf2ce77219 Mon Sep 17 00:00:00 2001 From: Anders Melchiorsen Date: Sun, 16 Jun 2019 19:41:13 +0200 Subject: [PATCH] Update pysonos to 0.0.15 (#24565) --- homeassistant/components/sonos/manifest.json | 2 +- homeassistant/components/sonos/media_player.py | 4 ++-- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/sonos/manifest.json b/homeassistant/components/sonos/manifest.json index 8a7dd60d80a..3c584f22070 100644 --- a/homeassistant/components/sonos/manifest.json +++ b/homeassistant/components/sonos/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/components/sonos", "requirements": [ - "pysonos==0.0.14" + "pysonos==0.0.15" ], "dependencies": [], "ssdp": { diff --git a/homeassistant/components/sonos/media_player.py b/homeassistant/components/sonos/media_player.py index 5f86327e88d..056eb569538 100644 --- a/homeassistant/components/sonos/media_player.py +++ b/homeassistant/components/sonos/media_player.py @@ -227,10 +227,10 @@ def _timespan_secs(timespan): def _is_radio_uri(uri): - """Return whether the URI is a radio stream.""" + """Return whether the URI is a stream (not a playlist).""" radio_schemes = ( 'x-rincon-mp3radio:', 'x-sonosapi-stream:', 'x-sonosapi-radio:', - 'x-sonosapi-hls:', 'hls-radio:') + 'x-sonosapi-hls:', 'hls-radio:', 'x-rincon-stream:') return uri.startswith(radio_schemes) diff --git a/requirements_all.txt b/requirements_all.txt index d4ea7e09eae..652c3163db5 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1351,7 +1351,7 @@ pysmarty==0.8 pysnmp==4.4.9 # homeassistant.components.sonos -pysonos==0.0.14 +pysonos==0.0.15 # homeassistant.components.spc pyspcwebgw==0.4.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index d84a8cd3e36..71d2da101ca 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -286,7 +286,7 @@ pysmartapp==0.3.2 pysmartthings==0.6.8 # homeassistant.components.sonos -pysonos==0.0.14 +pysonos==0.0.15 # homeassistant.components.spc pyspcwebgw==0.4.0