https://github.com/janbar/noson
C++ library for accessing SONOS devices.
https://github.com/janbar/noson
sonos-api
Last synced: about 1 year ago
JSON representation
C++ library for accessing SONOS devices.
- Host: GitHub
- URL: https://github.com/janbar/noson
- Owner: janbar
- License: gpl-3.0
- Created: 2015-11-19T21:38:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T23:41:25.000Z (over 1 year ago)
- Last Synced: 2025-03-27T23:41:51.470Z (about 1 year ago)
- Topics: sonos-api
- Language: C++
- Homepage:
- Size: 1.16 MB
- Stars: 28
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

## 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.