Controlling Media Playback


I have a need and in theory, I have a solution. I have some code to write as soon as I can find enough time to actually do it.

One step on the way is finding out how to play and pause media played on my computer. Primarily the Spotify application.

My keyboard has media keys for play/pause, next and previous. Last night I found out that there are API functions in place inside Windows to accomplish this.

I just finished a basic demo application and a limited library for doing this. It’s also my first serious project on GitHub.

https://github.com/crispion/mediactrl