How to check programmatically with python if any other application is playing audio/video

放肆的年华 提交于 2021-02-18 18:03:11

问题


I need to check if any application is playing any kind of media. Most importantly I want my Python program to detect whichever application is playing audio. The name of the application the audio is playing. And any related data are welcome.

I searched this up before posting here. I got many results, but unfortunately those are not for python. They were made for languages like C and C++.

My spec for your reference:

Operating System: Windows 10

Python Version 3.8

来源:https://stackoverflow.com/questions/64645989/how-to-check-programmatically-with-python-if-any-other-application-is-playing-au

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!