AndroidMediaControlsWindows
Python script that hacks in support for Android headset media control support for Windows
Install / Use
/learn @roligheten/AndroidMediaControlsWindowsREADME
Android Headset Media Controls for Windows
Python script that hacks in support for Android headset media control for Windows.
For more details on how this works, see the associated blog post
Installation
Regardless of the platform the following is required
- Python 3 or 2.7 (untested) installed on the system.
- The packages pywin32 and sounddevice, installable via
pip install pywin32 sounddevice.
Windows
-
Download a copy of this repository from here
-
Extract to an appropriate location on your system, where doesn't matter as long as you don't accidentally delete it.
-
Navigate to the following directory:
C:\Users\<your username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup -
Create a shortcut via File->New->Shortcut in the directory.
When asked to specify location point it to where 'pythonw.exe' is installed.
This is usually at:
C:\Users\<your username>\AppData\Local\Programs\Python\Python<version>\pythonw.exeWhen prompted for shortcut name just keep the default.
-
Right-click the new shortcut and open 'properties'
-
At the end of 'target' add the path where you installed the 'run.py' script to the end of the string.
For example:
Target:
<path to pythonw.exe> C:\Programs\audiocontrols\run.py -
Restart your computer. At this point you should find 'pythonw.exe' running in the task mananger under 'Background Processes' and the program should function.
Linux and Mac
Sorry, the script currently only works for Windows at the moment, feel free to contribute code for other platforms if you have the time.
Related Skills
openhue
342.5kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
342.5kElevenLabs text-to-speech with mac-style say UX.
weather
342.5kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
