Open HepoH3 opened 3 years ago
Thanks for your suggestion! I'll look into it later.
I would like this sensor, too.
IOTLink used to provide this functionality through CoreAudio, which I believe is also part of this project. Here's a link to the old code in IOTLink that (among other things) provided Media Playback state:
https://gitlab.com/iotlink/iotlink/-/commit/2e2c740a5980f61f6c0ba45b13c67cba24f49c55
IOTLink removed Core Audio because of a memory leak it had and hasn't been under active development anymore since.
Implemented in this project.
It would be great if there will be a media sensor which telling us is there some media playing on the PC (which will be paused if you send pause command). I believe it can be done, because windows 10 can track playing media from lot of sources. Also, did you hear about IoTLink project? It very close for your one and maybe you can get a few ideas or something from it.