FS#11042 - Dedicated sleep timer menu with persistent duration and "on power up" option - refined
Opened by Kai Posadowsky (Riffer) - Saturday, 20 February 2010, 16:11 GMT
Last edited by Dominik Riebeling (bluebrother) - Thursday, 08 November 2012, 22:04 GMT
This work is based on
This patch adds persistent duration values and a dedicated menu (under System) to control and hold the items.
It starts the sleeptimer when you start playing and stops it when you stop playing - if you want to have the player to shutdown you can easily get this by setting shutdown time in the standard settings menu!
The sleep timer menu has three items;
Start/ Stop Timer - This option starts (or stops if currently active) the sleep timer for this session. If a duration hasn't been set, this will be half an hour.
Timer Duration - The duration of sleep timers. The value set here is persistent, with its value being stored under "sleeptimer duration" in config.cfg.
Start Timer On Power Up? - Whether a sleep timer should be initiated when the device <del>starts up</del> plays - this regards to your setting. (If you have set the starting screen to wps it starts then too!). As described above the sleep timer also starts/stops when you press play/stop while playing . Stored in config.cfg under "sleeptimer on startup".
In addition the uisimulator has been largely extended by a small version of the original device power thread to have a much more realistic simulation when testing sleeptimer functions. Some additional debug messages have been added too.
The sys_poweroff function now really terminates the simulation (by sending SDL_QUIT to SDL).
Thursday, 08 November 2012, 22:04 GMT
Reason for closing: Out of Date
Additional comments about closing: Closed on request of the reporter.