theothernt / AerialViews

A screensaver for Android TV devices including Nvidia Shield, Fire TV, and Chromecast with Google TV. Inspired by Apple TV's video screensaver.
GNU General Public License v3.0
418 stars 32 forks source link

Long-press button to (temporarily) black out screen #101

Open youri-- opened 1 year ago

youri-- commented 1 year ago

tl;dr: see issue title

I have my TV on a lot, often playing music, with Aerial Views for the visuals. There are times however, I would like a black screen, nothing displayed, without actually turning off the TV.

For example:

In these occasions, with modern LED/OLED TVs, displaying a black screen would save energy. And saving energy is good for my wallet and the environment.

SmartTubeNext recently added a setting that blacks out the screen after a fixed amount of time. I (ab)use this feature in the aforementioned situations, by opening STN and letting it sit there, but how cool would it be, if I could manually trigger a black screen from my actual screensaver (which I can already also trigger to start, with a double-tap on my Nvidia Shield's Settings button).

I was thinking (optional, a new setting) a long-press on the OK/Select button (the dpad-center button) would be great. Then another tap on any dpad button to cancel the blacked out screen and return to the beautiful video visuals.

theothernt commented 1 year ago

That sounds like a good idea!

As you suggest, it will be an opt-in feature on the Settings > D-Pad/Remote screen. When Aerial Views is running, you can do the following...

  1. Long-press the OK button the fade out and stop the video
  2. Press OK to re-start video

Do you think the other directional buttons should be disabled when then screen is off?

youri-- commented 1 year ago

Do you think the other directional buttons should be disabled when then screen is off?

Yes, that's probably a good idea. That way it's more deliberate to exit black screen, less prone to an accidental press (moving the remote, or a pet 🐱 stepping on it).

Mr-HaleYa commented 7 months ago

Yes, that's probably a good idea.

Could cause frustration when someone other than you tries to use the remote when in this mode. The most likely outcome is going to be them turning the TV off and then back on when none of the buttons work.

Also would be nice to have a toggle in this mode settings to add the clock in like with the videos.