-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support loop_one mode #58
Comments
I'm happy to write a PR for this. What is this projects stance on breaking changes? Should I break the function signature by changing the bool to a str type? https://github.com/pavoni/pyroon/blob/master/roonapi/roonapi.py#L302 Or to maintain backwards compat should we support a boolean and string value? |
With only a couple of users - I don't think it's a big deal to change the API. We should just make it clear in the release. |
As far as I can see the HA wrapper doesn't currently use Roon's repeat mode - and HA does support the 3 mode model. So will be a good addition if you decide to do this. |
Yea i'll write a patch in the new year! |
@doctorfree I'm tempted to make a breaking change to do this. Will it break your current code? Anything I can do to make it easier? |
@pavoni it would break the current RoonCommandLine support for I'd say go ahead and add support for |
Sorry I didn't get round yet to writing that PR, been busy with other things.
+1 |
@doctorfree if it helps I can flag you when I've merged the PR - but before I release the library. |
@doctorfree It was easy to make this backwards compatible - so shouldn't be an issue for you. |
Roon's loop mode has three states:
'loop' | 'loop_one' | 'disabled'
source: https://roonlabs.github.io/node-roon-api/Zone.html
Currently this library only exposes
loop
anddisabled
It would be great to have support for this in the API (and eventually HA).
The text was updated successfully, but these errors were encountered: