Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve Sonos error handling on slow networks #25902
This fixes a number of uncaught exceptions that I discovered while running with a network conditioner causing 25%-50% packet loss. It handles crazy situations like this:
I hope avoiding the exceptions will fix some reports about the Sonos discovery thread stopping but I do not have enough information to be sure.
Changelog: pysonos 0.0.23
Related issue (if applicable): chatter in the forum
If the code communicates with devices, web services, or third-party tools: