Update pysonos to 0.0.15 (#24565)

This commit is contained in:
Anders Melchiorsen 2019-06-16 19:41:13 +02:00 committed by Daniel Høyer Iversen
parent c173a3be44
commit 1e248551d5
4 changed files with 5 additions and 5 deletions

View file

@ -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": {

View file

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

View file

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

View file

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