2010-02-07, 02:59
While troubleshooting an unrelated problem, I noticed that XBMC has a built-in function for "Alarm Clock" of "Sleep Timer" purposes. The built-in function is: AlarmClock(name,command,time[,silent])
However, AFAIK, there is no UI for this functionality.
Does anyone know of anything like this? Since a large part of the functionality is already written/native to XBMC, and it has been requested many times, I had sort of assumed there would be something available -- but about 30 minutes on Google turned up nothing.
Alternatively, it might be better to write something that creates a cron script based on the user's input, which would allow recurring alarms.
Here is the proposed UI (attempting to keep it simple):
So, for example, the user would have:
Mon - Fri ... 7:30 - 8:30
Sat - Sun ... 9:30 - 10:30
This could be a simple cron job that ran a wget to send the play-command through the api.
V2 might offer a few other features: browse for playlist, or, a test feature (to make sure playlist is found) ... possibly a web-interface (would be nice to set this from a iTouch, or some other Internet tablet/laptop).
What do you guys think -- is there anyone interested in doing something like this?
I don't know anything about scripting for XBMC, but I'd be happy to donate to the person who builds it?
Or ... have I missed something in all of my searching, and this already exists?
However, AFAIK, there is no UI for this functionality.
Does anyone know of anything like this? Since a large part of the functionality is already written/native to XBMC, and it has been requested many times, I had sort of assumed there would be something available -- but about 30 minutes on Google turned up nothing.
Alternatively, it might be better to write something that creates a cron script based on the user's input, which would allow recurring alarms.
Here is the proposed UI (attempting to keep it simple):
Code:
* Alarm 1 (would have 1,2,3 alarms that expand/contract to show options)
Alongside the Alarm would be an icon for enabled or disabled (to quickly pause alarms)
- Day Start
- Day End
- Time On
- Time Off
- Play: (manual entry of playlist name)
* Quick Alarm: Date/Time/Active
Mon - Fri ... 7:30 - 8:30
Sat - Sun ... 9:30 - 10:30
This could be a simple cron job that ran a wget to send the play-command through the api.
V2 might offer a few other features: browse for playlist, or, a test feature (to make sure playlist is found) ... possibly a web-interface (would be nice to set this from a iTouch, or some other Internet tablet/laptop).
What do you guys think -- is there anyone interested in doing something like this?
I don't know anything about scripting for XBMC, but I'd be happy to donate to the person who builds it?
Or ... have I missed something in all of my searching, and this already exists?