Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: maximum brightness #19

Open
stamminator opened this issue Jul 29, 2024 · 3 comments
Open

Feature request: maximum brightness #19

stamminator opened this issue Jul 29, 2024 · 3 comments

Comments

@stamminator
Copy link

First of all, fantastic app. The 4K HDR video sources you've found look incredible on my TV.

I'd love the ability to specify a maximum brightness for when the screensaver kicks in. For example, If the brightness is above, say, 60% when the screensaver kicks in, automatically lower it to 60% and restore it to its previous value when the screensaver exits.

If it helps, here is an example of the luna commmands which adjust brightness: https://github.com/stamminator/webos-adjust-backlight/blob/main/adjust-backlight.sh

@aabytt
Copy link
Owner

aabytt commented Jul 31, 2024

There should be no problem with reading the actual value and adjusting it to a desired level when screensaver kicks in but not sure on how to restore it on exit.

@stamminator
Copy link
Author

@aabytt Is the main problem that there's no exit event that gets triggered?

@aabytt
Copy link
Owner

aabytt commented Aug 1, 2024

@stamminator yeah
Thinking to play with webos window type. Change it from screensaver to overlay. The app will no longer be handled as standard screensaver by webos but we'll be able to set exit triggers. And it also should make the video overlay possible on older webos versions (does not work on webos < 5 now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants