Rockbox Development > Feature Ideas

Replace "sleep timer" with "pause timer"

<< < (2/2)

bakseetdrivr:
seani,
i had that problem too as i find music is great to slow the heart rate/make you fall asleep faster.
check out my solution (http://anythingbutipod.com/forum/showthread.php?t=48010 )

and to add to the pause timer, that would be great for anything where you are constantly taking headphones in/out. at work i would put sleep on so my sansa didnt run all day, but having a pause timer would allow me not to have to worry about that and turn it back on each time a customer came to talk to me.

-Tom

seani:
Hi Tom,

Nice bit of lateral thinking !

S

ETA:

Tom, the thought occurs that there's a RockBox setting that automatically pauses when you unplug your headphones and resumes when you plug them back in. Would that simplify matters?


Also have managed to build the firmware for my C240 incorporating the pause-timeout change.

Essentially:

* the sleep-timeout now pauses when it matures.
* if the player is left paused, the idle-timeout kicks in and it turns off
* if it's unpaused, the sleep-timer kicks off again for the same period
* when the player powers off the sleep-timeout is turned off

It seems to work fine on my player, but although there aren't many changes - a handful of lines - I'm aware I don't know much, so more reading and testing I think.

A test "in the field" tonight :-)

Riffer:
Maybe the version I now have done for me now fits your needs to.

Have a look at FS#11042

seani:

--- Quote from: Riffer on February 20, 2010, 11:47:58 AM ---Maybe the version I now have done for me now fits your needs to.

Have a look at FS#11042

--- End quote ---

Hi Riffer (and Nick),

Thanks for pointing this out. I've been running my own less well implemented patch and your collective additions would make it perfect for me. I'll have a go at applying your patch to the new source, thanks for sharing it!

Sean

Navigation

[0] Message Index

[*] Previous page

Go to full version