Skip to content
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

[Feature Request] Sleep Timer #152

Closed
michaellunzer opened this issue Jul 20, 2017 · 3 comments
Closed

[Feature Request] Sleep Timer #152

michaellunzer opened this issue Jul 20, 2017 · 3 comments

Comments

@michaellunzer
Copy link

Hey James,

Great work on Iris! It would be really nice to add a sleep timer to this project.

I'm not sure what the best way to implement it would be, but I imagine a menu near Settings which allows you to set a timer for a specified amount of time, either increments of 5 minutes on a select list or just put some iOS style time pickers

Let me know if this is something worth pursuing or not

Thanks!

@jaedb
Copy link
Owner

jaedb commented Jul 28, 2017

This type of functionality lives in the backend. So you would need to construct a container in core.py to hold the sleep configuration. This would also make it accessible to all clients.

Then you'd need to implement the frontend component to manage the sleep configuration, and JS actions to listen for changes to the backend configuration (as applied by other clients).

So it's far from a 5 minute job.

@jaedb
Copy link
Owner

jaedb commented Apr 4, 2018

Makes sense to piggy-back existing extension Mopidy-Alarmclock when sleep functionality is implemented, rather than baking this in to Iris.

@jaedb
Copy link
Owner

jaedb commented Mar 10, 2021

Closing due to inactivity.

@jaedb jaedb closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants