How to make Python (3.7) manipulate any media player currently working on Windows?
I want to get functionality similar to media keys on keyboard, for example:
- play_pause.py script which will play or pause music on Spotify or movie in media player (whatever is currently playing).
- play_next.py script which will play next song/movie etc.
To clarify: I don't want Python to virtually press actual media keys on keyboard. I would like to get the functionality of such keys so it might work even without keyboard connected to PC.
Is there any way to make Python (3.7) manipulate any media player currently working on Windows?Yea probably - SuperStew