Python Forum
How would I be able to detect a media player app playing a video.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How would I be able to detect a media player app playing a video.
#1
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.
Reply
#2
Set the windows power options (Control Panel > Hardware and Sound > Power Options). You can control when the display turns off and the computer sleeps.
Reply
#3
I know this. I have a try icon setup so I can shut off my monitors on the fly.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python & Windows Media Player Extra 9 5,002 Apr-05-2022, 10:34 PM
Last Post: Extra
  Adding variable to Python code - media sentiment analysis Marietje 3 2,572 May-25-2021, 05:15 PM
Last Post: jefsummers
  Python - Import file sequence into Media Pool jensenni 1 2,155 Feb-02-2021, 05:11 PM
Last Post: buran
  Open windows media player minimised TamP 1 2,249 Aug-02-2020, 08:40 PM
Last Post: Larz60+
  MEDIA ROOT ionezation 1 2,205 Mar-29-2019, 02:43 PM
Last Post: ichabod801
  run code while playing video almulder 0 1,932 Aug-26-2018, 07:19 PM
Last Post: almulder
  If - a media player exists? Nwb 2 2,800 Jun-15-2018, 06:40 PM
Last Post: snippsat
  Script for media content and redirect in to a file puneet102 0 2,355 May-22-2018, 12:06 PM
Last Post: puneet102
  Pyglet Media: unjustifiable memory usage hbknjr 4 4,615 Aug-20-2017, 02:08 AM
Last Post: hbknjr
  Python + OpenCV + Tkinter playing video help Hanban 1 18,015 May-08-2017, 01:25 AM
Last Post: Joseph_f2

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020