python-snapcast
python-snapcast copied to clipboard
Snapcast 0.26.0: New control API
Additionally to the new Stream.Properties API, snapcast 0.26.0 introduced stream control capabilities: https://github.com/badaix/snapcast/blob/develop/doc/json_rpc_api/stream_plugin.md#pluginstreamplayercontrol
At the moment, I have implemented only Stream.SetProperty as a basic function in #42. In the same manner a Stream.Control function could be added.
Additionally, more high level methods like play/pause/next/volume/etc. could be added to the stream and maybe also group/client classes. Also the stream properties canControl, canPlay, etc should be taken into consideration.