janbar / noson

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

documentation seems to be empty #6

Closed coleged closed 6 years ago

coleged commented 6 years ago

This looks like what I'm looking for. I have built the lib and run tests on Ubuntu - all seems to be working. Would like to see some documents on how to use the library possibly with a few examples. My goal is to build a server side tool to schedule/shape sound scenes across a Sonos network spanning a large residential building (17 locations at present).

janbar commented 6 years ago

You could get as example the source of the CLI tool provided with the noson-app: noson.cpp.

If you need to build a complex application handling callback from upnp subscriptions and multi-threading you could get as example the sources of the GUI backend: sonos.h , player.h.

coleged commented 6 years ago

Thanks. The CLI code helps me a lot. My tool will be quite simple. What I'm struggling to understand is how I go about changing the topology - i.e. I want to create zones autonomously - which Class/method(s) should study. I see how to find the players in a zone, but not how I add/remove players.

janbar commented 6 years ago
coleged commented 6 years ago

Thanks for speedy response. I have success. Two days from finding the noson library, I now have a working prototype of my tool. Most of the credit lies with your project as I'm just an old C hacker struggling with the whole object paradigm, frameworks and IDE's.