A lightweight system tray application that provides global keyboard shortcuts to control Spotify playback on Windows.
- Global keyboard shortcuts that work from any application
- Minimalist system tray interface with Spotify-themed icon
- Zero configuration required - works out of the box
Ctrl + Shift + P
: Play/PauseCtrl + Shift + Right Arrow
: Next TrackCtrl + Shift + Left Arrow
: Previous Track
Right-click the Spotify icon in your system tray to access:
- Play/Pause
- Next Track
- Previous Track
- Exit
- Windows OS
- Python 3.8 or higher
- Spotify Desktop App installed
- Download the latest release from the Releases page
- Extract the ZIP file
- Run
spotify_control.exe
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/spotify-global-control.git
cd spotify-global-control
- Create a virtual environment (recommended):
python -m venv .venv
.venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python src/main.py
To build the executable yourself:
- Install pyinstaller:
pip install pyinstaller
- Build the executable:
pyinstaller --noconsole --onefile --add-data "assets/icon.png;assets" --icon=assets/icon.png src/main.py --name spotify_control
The executable will be created in the dist
directory.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Icon created using PIL (Python Imaging Library)
- Built with Python's pynput library for global keyboard shortcuts
- Uses pystray for system tray functionality