Rockbox General > Rockbox General Discussion
Remember Sleep-Timer on boot
AlexP:
I think it should remember the previous setting, but not enable it. That way if you always use the same time, you just go to the menu and select it, without having to scroll through to the same time every time.
DanRock:
Simply from a user perspective (I'm new to the RockBox code), I would want a sub-menu for the sleep-timer. One menu item would control the on-boot default sleep value; the other menu item would control the current session's sleep-timer. The session sleep-timer is reset to the boot value upon boot.
This would enable a default boot value and allow the user to change the sleep-timer for the current session. While also allowing the user to set the values via the menu.
AlexP:
--- Quote from: DanRock on February 20, 2008, 09:06:13 AM ---Simply from a user perspective (I'm new to the RockBox code), I would want a sub-menu for the sleep-timer. One menu item would control the on-boot default sleep value; the other menu item would control the current session's sleep-timer. The session sleep-timer is reset to the boot value upon boot.
This would enable a default boot value and allow the user to change the sleep-timer for the current session. While also allowing the user to set the values via the menu.
--- End quote ---
That sounds like complete option overkill and the kind of thing we want to avoid if possible. Rockbox already has a huge number of options, and that would be an unnecessary addition (in my opinion of course). Whilst I have no say on the matter, I would think that is very unlikely to happen.
DanRock:
It probably is overkill.
So, I think I can do that code at this point. But an example would greatly help me out to see how it is done. What is the name of setting which is read, not saved and has no menu item?
JdGordon:
Its not currently possible to read a setting from a config file and not write it back out. It could be added but its a bit of a hassle.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version