noson
noson copied to clipboard
C++ library for accessing SONOS devices.
About NOSON
This project is intended to create a easy client interface to drive SONOS player. Its development started from November 2015 and today the API supports basic features to browse music index and control playback in any zones.
Building
Linux, BSD, OSX
Configure, make and install
cmake -DCMAKE_BUILD_TYPE=Release $NOSON_PROJECT_DIR
make
sudo make install
Windows
Start by installing VC studio 2012 and CMAKE tool
To build open a command tool CMD.EXE from the project folder and execute the following
mkdir build_vc
cd build_vc
cmake ..
cmake --build .
Running a test
./test/nosontest
Generate the documentation
sudo apt-get install graphviz
cd {SOURCE_PATH}/docs
doxygen doxygen-dev.cfg
firefox doxygen-dev-docs/html/index.html
Sample code
You will find a basic usage in test/src/test.cpp.
Then you can have a look on the app https://github.com/janbar/noson-app.