How to check programmatically with python if any other application is playing audio/video
问题 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