janbar / noson

C++ library for accessing SONOS devices.
GNU General Public License v3.0
27 stars 9 forks source link

hackish way to get all devices #12

Closed sandsmark closed 5 months ago

sandsmark commented 3 years ago

not sure if you want this in addition to the existing fix, but I had the branch laying around. had the same issue I guess you solved, but solved it in a slightly different way (trying to get all devices, and then check the services it exposes).

commit message: sometimes the first device to respond is e. g. a sub, which is not what we want.

it solves kind of the same problem as 4d30308e03628031832041b7f2d758c17d316d9f, but more robust for future device models.

sandsmark commented 3 years ago

also dropped this part, not sure what all the model IDs are: http://ix.io/2t5n