An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

![build status](https://github.com/janbar/noson/actions/workflows/build-ubuntu-latest.yml/badge.svg?branch=master)

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