Squeezebox play now support (#72626)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Raj Laud 2022-08-28 18:50:44 -04:00 committed by GitHub
parent 50a1de9f73
commit 575ac5ae0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,7 @@
"name": "Squeezebox (Logitech Media Server)",
"documentation": "https://www.home-assistant.io/integrations/squeezebox",
"codeowners": ["@rajlaud"],
"requirements": ["pysqueezebox==0.5.5"],
"requirements": ["pysqueezebox==0.6.0"],
"config_flow": true,
"dhcp": [
{

View File

@ -482,6 +482,8 @@ class SqueezeBoxEntity(MediaPlayerEntity):
cmd = "add"
elif enqueue == MediaPlayerEnqueue.NEXT:
cmd = "insert"
elif enqueue == MediaPlayerEnqueue.PLAY:
cmd = "play_now"
else:
cmd = "play"

View File

@ -1873,7 +1873,7 @@ pysoma==0.0.10
pyspcwebgw==0.4.0
# homeassistant.components.squeezebox
pysqueezebox==0.5.5
pysqueezebox==0.6.0
# homeassistant.components.stiebel_eltron
pystiebeleltron==0.0.1.dev2

View File

@ -1308,7 +1308,7 @@ pysoma==0.0.10
pyspcwebgw==0.4.0
# homeassistant.components.squeezebox
pysqueezebox==0.5.5
pysqueezebox==0.6.0
# homeassistant.components.syncthru
pysyncthru==0.7.10