Maassoft / ColorControl

Easily change NVIDIA display settings and/or control LG TV's
GNU General Public License v3.0
998 stars 43 forks source link

Adding condition based on in-use input #92

Open Jacopos94 opened 2 years ago

Jacopos94 commented 2 years ago

Would it be possible to add a condition to the automated shutdown where, based on currently selected input, it prevents shutdown if on different input than specified?

As an example if I let my pc on (pc is on hdmi1) and I change input to my PS5 (hdmi4) and while on PS5 my pc goes to standby or I shut it off, then the TV would shut off.

Instead adding a condition whereas if current input is different from pc input, on shutdown/standby/screensaver do nothing.

Maassoft commented 2 years ago

Thanks for the suggestion. I think this would be possible. I already found a method to receive the current used app (also includes inputs) from the TV, so if the current input does not match the configured input used for the PC, it will be possible to skip turning off the TV. I think I'll just add a setting where the user can manually select the input used for the PC (one time) and that shutdown/standby/screensaver power offs will only happen when the current input of the TV matches that input. I don't know yet how I can reliably detect the input that is actually used for the PC that has ColorControl running.

Jacopos94 commented 2 years ago

I think it is more reliable to have the user choose the input even if there was a way to automate it. Can't wait for it to get implemented!

Great app btw, it already saved me 20€ on a service remote!

Maassoft commented 2 years ago

I've just released v5.7.0.0 which contains this feature.