JPersson77 / LGTVCompanion

Power On and Off WebOS LG TVs together with your PC
MIT License
992 stars 40 forks source link

User idle mode: fullscreen app exclusion list and/or screen detection #96

Closed Sithishade closed 1 year ago

Sithishade commented 1 year ago

Use case: If a game features prominent UI elements that can't be hidden, or if a video features a static panel (like a Twitch stream overlay), I try to avoid playing or watching it on my LGTV. Thus, I often have fullscreen applications on other displays that prevent user idle mode from activating, due to my having activated its fullscreen detection. I would still like the fullscreen detection to function, however, in cases where an application is running in fullscreen on the LGTV.

To that end, I'm wondering if it would be possible to create an exclusion list for user idle mode's fullscreen exception. It would be nice to be able to select specific apps and have user idle mode turn off the transmitters even if those applications are active and in fullscreen.

Alternatively, as it would solve the same issue more elegantly, it would be similarly useful if user idle mode could detect when applications are in fullscreen on the LGTV itself and only block user idle mode in those cases.

JPersson77 commented 1 year ago

Hi @Sithishade,

Just so I understand. Is the use case you describe that you want the LGTV to turn off when you step away from the PC, even though a game is still running fullscreen on another monitor? But you want the LGTV to be active while you are at the PC.

if so, yes it would be possible to create an exclusion list. Not sure how easy it would be to discover which output device the game is running fullscreen on.

Let me know if I misunderstood something. otherwise I will add the suggestion to the feature requests list

Sithishade commented 1 year ago

This is correct, yep! I thought of it just recently since GDQ is airing this week. I like to watch the marathon, but there’s a big overlay on the video that remains the same for the majority of the event. As such, I’d prefer not to put it on the TV.

A good chunk of the time, I’m just leaning back in my chair and watching the livestream—technically idle, but still using a fullscreen app. Since it’s not on the TV, I’d like the TV to shut off. I figure I can accomplish this by adding my browser to the exclusion list for these occasions, removing it when it becomes unnecessary.

Same goes for gaming—if I step away from my desk while playing a game on a regular monitor, no need to have the TV keep running either. I hope that makes sense!

On Tue, Jan 10, 2023 at 6:09 AM JPersson77 @.***> wrote:

Hi @Sithishade https://github.com/Sithishade,

Just so I understand. Is the use case you describe that you want the LGTV to turn off when you step away from the PC, even though a game is still running fullscreen on another monitor? But you want the LGTV to be active while you are at the PC.

if so, yes it would be possible to create an exclusion list. Not sure how easy it would be to discover which output device the game is running fullscreen on.

Let me know if I misunderstood something. otherwise I will add the suggestion to the feature requests list

— Reply to this email directly, view it on GitHub https://github.com/JPersson77/LGTVCompanion/issues/96#issuecomment-1377164858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS76375NNC5Y7KOZ2LL4MGLWRVGOJANCNFSM6AAAAAATWU4PYQ . You are receiving this because you were mentioned.Message ID: @.***>

JPersson77 commented 1 year ago

Yeah it makes sense. I'll see what can be done!

JPersson77 commented 1 year ago

Check out v2.2.0 published now with this feature added. Closing this issue