Giter Club home page Giter Club logo

sonos-controller's Introduction

sonos-controller

sonos-controller is a controller for your Sonos multiroom audio system using Python, for Windows. Using sonos-controller you'll be able to control the volume of your Sonos zones using the native media keys on your keyboard. Hold the combo key (default is left shift), and use your volume controls to adjust the volume of the selected zone. To switch a zone, hold the combo key and use the left & right arrows to navigate.

Getting Started

To start off, we must add players to the configuration file. It's recommended you have static IP addresses set for your speakers. Opening config.xml, you'll see an example configuration that looks as such.

<WinSonos>
	<Configuration>
		<VolumeInterval>2</VolumeInterval>
		<ComboKey>SHIFT_L</ComboKey>
	</Configuration>
	<Players>
		<Player>192.168.1.123</Player>
		<Player>192.168.1.124</Player>
	</Players>
</WinSonos>

Simply add the IP addresses of each player. You can add or remove as many players as needed. sonos-controller will list the players in the navigation as they are ordered in the config. The combo key can be set as either SHIFT_L (left shift), or SHIFT_R (right shift). Lastly, the volume interval is the percentage change on the volume up and down events.

To start sonos-controller, run the file run.bat. If not already installed, install Python 3 from the Windows Store. Upon first startup, a Python virtual environment will be created and the required dependencies will be installed.

To exit sonos-controller, hold the escape key, then hold the shift key and release the escape key.

sonos-controller's People

Contributors

legendaryfire avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.