This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11056 - Alarm clock plugin
Attached to Project:
Rockbox
Opened by Clément Pit--Claudel (CFP) - Wednesday, 24 February 2010, 18:58 GMT+2
Last edited by Rafaël Carré (funman) - Thursday, 25 February 2010, 15:45 GMT+2
Opened by Clément Pit--Claudel (CFP) - Wednesday, 24 February 2010, 18:58 GMT+2
Last edited by Rafaël Carré (funman) - Thursday, 25 February 2010, 15:45 GMT+2
|
DetailsThis patch adds an "alarmclock" plugin, which basically resumes playback at a given time. Think of it as a play timer, as opposed to the sleep timer.
I found it useful, provided that it is no problem for me to leave my player on overnight. Should work on most targets with an RTC (however the code has not been tested but on Gigabeat), and shouldn't break compilation anyway. Does the same as This is a very simple plugin, that would better be merged into the core, for targets which are not able to automatically wake up. I do not have, however, the required talent (or knowledge of the code) to do this. CFP. PS: While developing this plugin, I noticed that for a few seconds after booting the sim, the clock dosen't update. (by the way, the reported version list in the tacker posting interface doesn't show v3.5) |
This task depends upon
Closed by Rafaël Carré (funman)
Thursday, 25 February 2010, 15:45 GMT+2
Reason for closing: Accepted
Additional comments about closing: r24912
Thursday, 25 February 2010, 15:45 GMT+2
Reason for closing: Accepted
Additional comments about closing: r24912
One bug remains (as discussed on IRC): when starting the plugin, if no playlist control file has ever been created, an error message is displayed (error accessing playlist control file). Since the audio resume code was actually taken from the playback menu in plugin lib, this bug happens in every plugin: for example, try to start codebuster on a clean sim build, and resume the audio playback from the playback menu.
I believe this doesn't need fixing, provided that the error message is very neat.
CFP.
CFP.