Jump to content

Hey guys,

 

I have a Plasma TV (2012 era 50" LG 50PA6500) hooked up to an HTPC.

 

I watch a lot of Netflix, and noticed that Silverlight doesn't disable the Screen Saver automatically. I used to have it set to 15 minutes, but watching even a "30 minute" TV show episode on Netflix, the screen saver would kick in.

 

Other, properly coded video programs (VLC, Plex, even YouTube in a browser) all properly disable the screen saver, yet Netflix does not.

 

The reason I am concerned, is of course because if one of my roommates forgets to turn off the TV after they are done using it, it might be left on the desktop, or some other static image. While, yes, burn-in and image retention are basically not issues anymore, if the screen is left on a static image for hours (for example, overnight) then eventually it could cause burn-in over the long term.

 

I found a "script" online that is supposed to auto disable the screen saver, then kick it back in after:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.#PersistentES_CONTINUOUS := 0x80000000ES_DISPLAY_REQUIRED := 0x00000002windowsState := 0sleepDelay := 150 ; minsMenu, Tray, Icon, SHELL32.dll, 44SetTimer, CheckWindowsState, 1000OnExit, ExitSubCheckWindowsState:If ((!windowsState && WinActive("Netflix: Netflix Movie Viewer")) || (!windowsState && WinExist("Netflix: Netflix Movie Viewer") && WinActive("ahk_class AGFullScreenWinClass"))){   windowsState := 1   Menu, Tray, Icon, user32.dll, 2   TrayTip, Netfix, Screen Saver Disabled`, Enjoy The Show!, 10, 2   DllCall("SystemParametersInfo", Int,17, Int,0, UInt,NULL, Int,2) ;disable screensaver   DllCall("SetThreadExecutionState", UInt, ES_CONTINUOUS + ES_DISPLAY_REQUIRED) ;prevent sleep   SetTimer, NetflixTimeOut, % -sleepDelay * 60*1000 ;run only once}Else If ((windowsState && !WinActive("Netflix: Netflix Movie Viewer")) || (windowsState && !WinExist("Netflix: Netflix Movie Viewer"))){   SetTimer, ScreenSaveActivate, -1 ; run sub and turn off the timer}ReturnScreenSaveActivate:Menu, Tray, Icon, SHELL32.dll, 44TrayTip, Netfix, Screen Saver Enabled!, 10, 1DllCall("SystemParametersInfo", Int,17, Int,1, UInt,NULL, Int,2) ;enable screensaverDllCall("SetThreadExecutionState", UInt, ES_CONTINUOUS) ;enable sleepSetTimer, NetflixTimeOut, OFFwindowsState := 0ReturnNetflixTimeOut:MsgBox, Zzzzzzzz...ReturnExitSub:Gosub, ScreenSaveActivateExitApp

Will this work? How do I run the script automatically? (I don't generally run scripts with browsers)

 

Alternatively, does anyone have any suggestions for fixing this?

 

Excluding things such as:

-temporarily disable the screen saver manually, or

-play a media file in VLC and just pause it

 

Basically, I want something that is idiot proof, and automatic, because my roommates are not computer experts, and will not remember to do any extra steps.

 

Damnit I wish there was a standalone netflix App for Windows, or that Plex supported the Canadian netflix.

For Sale: Meraki Bundle

 

iPhone Xr 128 GB Product Red - HP Spectre x360 13" (i5 - 8 GB RAM - 256 GB SSD) - HP ZBook 15v G5 15" (i7-8850H - 16 GB RAM - 512 GB SSD - NVIDIA Quadro P600)

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×