Python Forum

Full Version: How would I be able to detect a media player app playing a video.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to stop windows from powering off the monitor while playing a game or from watching movies and the only way I've found so far is using opencv with screenshots of the desktop.
Set the windows power options (Control Panel > Hardware and Sound > Power Options). You can control when the display turns off and the computer sleeps.
I know this. I have a try icon setup so I can shut off my monitors on the fly.