A hardware Sonos controller which harkens back to a simpler time.
In order for this to work, you need a file called config.py
in the same directory as phonos. It should have an array called uris
of named tuples in it, which contains a list of up to 10 Sonos URIs (stations, songs, albums, whatever), as well as human-readable names for the stations. See the SoCo documentation for more details about URIs. See the example config.py in this repo for an example of the named tuple format.
In addition to the list of URIs, there should be a list of tuples or strings in config.py
containing room names. Individual rooms as well as groups of rooms are supported.
More configuration bits may be added in the future.
TODO