svrooij / node-sonos-ts

:speaker: Sonos control library, use this library in your own appliction.
https://sonos-ts.svrooij.io/
MIT License
84 stars 18 forks source link

fix: Sonos discovery #152

Closed svrooij closed 2 years ago

svrooij commented 2 years ago

The SSDP discovery was broken

Description

We used a static port 1900, because we thought it was needed. Apparently you'll get the response to whatever port you have send the message from. So any random port will do. This should make the discovery much more stable and super fast.

Fixed #150

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

💔 Thank you!

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1666891893


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/sonos-device-discovery.ts 7 8 87.5%
<!-- Total: 7 8 87.5% -->
Totals Coverage Status
Change from base Build 1645851143: 0.03%
Covered Lines: 1533
Relevant Lines: 1939

💛 - Coveralls
github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.5.0-beta.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 2.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: