python-snapcast icon indicating copy to clipboard operation
python-snapcast copied to clipboard

Snapcast 0.26.0: New control API

Open luar123 opened this issue 2 years ago • 0 comments

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.

luar123 avatar May 08 '22 16:05 luar123