lichess-org / mobile

Lichess mobile app v2
GNU General Public License v3.0
1.21k stars 173 forks source link

TV Sleep Timer #497

Open blackboxlogic opened 7 months ago

blackboxlogic commented 7 months ago

Lichess TV, when selected, runs forever. I propose a new setting to specify a number of hours for Lichess TV to run, then stop. After which the stream ends and the screen is no longer kept on. This would be like a sleep timer on a real TV and serve similar use cases. For a mobile device, "stay on forever" is rarely desired.

EmmetSchuler commented 7 months ago

As of now, Lichess TV doesn't keep screens awake.

blackboxlogic commented 7 months ago

This was in response to my experience with Lichess v.1 but when I saw v.2 was under development it became a feature request here. A simple implementation: a boolean setting "keep screen awake in TV", and if it's false then the device's screen-awake-duration setting would do the work of turning off TV after a delay. (This is assuming that at some point TV will be changed to keep the screen on as that is the basic feature in v.1)

manyopensource commented 6 months ago

I think just a switch "Run for 1 hour" (otherwise keep it running infinitely) would be enough. Youtube has "Remind me to take a break" switch.