-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow timeout to be specified on soco.play_uri #961
Conversation
* Cache ZoneGroupState while subscriptions are active
Allow timeout to be specified
…into play_uri_timeout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
I may have the wrong base for this, I think I started with 0.30 fixes, let me know if I need to do something to fix |
It looks fine to me. There's a couple of unrelated new Pylint warnings, which I'll address separately. |
- Add kwargs to play_uri() - Add kwargs to play() - Add test
This change is now included in SoCo |
Glad to help. Thanks for the quick turn around! |
Allow a per call timeout to be set on soco.play_uri - similar to to the existing capability in add_uri_to_queue and add_to_queue.
This capability is needed downstream by the Home Assistant Sonos integration, to allow a longer timeout to be used than the configured default timeout.
home-assistant/core#114936