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

Alarm clock radio #4

Open
tigre-bleu opened this issue Oct 27, 2016 · 1 comment
Open

Alarm clock radio #4

tigre-bleu opened this issue Oct 27, 2016 · 1 comment

Comments

@tigre-bleu
Copy link

It would be nice to automatically launch a radio channel at a specific time (as an alarm clock).

I don't know if it's easy with sailfish to create something like a cron to launch the app, but a first step would be to have an option in the app to play a specific channel at a specific time.

@nesnomis
Copy link
Owner

nesnomis commented Oct 29, 2016

It is a great suggestion, and i have tested a couple of ways to implement it. The biggest problem is when the phone goes in deep sleep the (normal) timer stops and you wont get an alarm. This can be prevented by stopping the phone from going into deep sleep, but preventing deep sleep over night will drain a lot of battery, and the method is not approved by Jolla harbour. A cron job is a good idea too, but there are no standard way to get that approved in harbour.

I do have an openRepos version (with MPRIS support). This version could be the test version for an alarm clock.

If anybody have a good idea to correctly implement an alarm function i am open for testing it though... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants