vmichalak / sonos-controller

Java API for controlling SONOS players
MIT License
43 stars 9 forks source link
java multiroom-audio sonos

Sonos Controller Header

sonos-controller

Java API for controlling SONOS players.

100% Android and Kotlin compatible.

Travis Status Coverage Status Join us on Slack!

Basic Usage

Discovery all Sonos Devices on your network.

List<SonosDevice> devices = SonosDiscovery.discover();

Connect to a known Sonos and pause currently playing music.

SonosDevice sonos = new SonosDevice("10.0.0.102");
sonos.pause();

How to clone the project

To clone and recover the dependencies do the following commands:

git clone https://github.com/vmichalak/sonos-controller.git
cd sonos-controller
git submodule init
git submodule update

To-Do

Link to the Trello

Contributors

The current lead maintainer is Valentin Michalak (twitter)

Feel free to participate !

Join us on Slack !

There is a Sonos Controller group over at Slack. Feel free to drop by for support, ideas or casual conversation related to Sonos Controller and Sonos in general :wink:.

Sample projects made with this library

Sonos Remote Controller based on Android Things by Michael Guntli

Special Thanks

Special Thanks to rahims for is work on Sonos API !

Licence

Released under the MIT license.