Skip to content

Commit

Permalink
Update pysonos to 0.0.15 (#24565)
Browse files Browse the repository at this point in the history
  • Loading branch information
amelchio authored and Danielhiversen committed Jun 16, 2019
1 parent c173a3b commit 1e24855
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/sonos/manifest.json
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/sonos/media_player.py
Expand Up @@ -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)


Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -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
Expand Down

0 comments on commit 1e24855

Please sign in to comment.