Skip to content

kunalsahu20/spotify-global-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Global Control

A lightweight system tray application that provides global keyboard shortcuts to control Spotify playback on Windows.

Spotify Control Icon

Features

  • Global keyboard shortcuts that work from any application
  • Minimalist system tray interface with Spotify-themed icon
  • Zero configuration required - works out of the box

Keyboard Shortcuts

  • Ctrl + Shift + P: Play/Pause
  • Ctrl + Shift + Right Arrow: Next Track
  • Ctrl + Shift + Left Arrow: Previous Track

System Tray Menu

Right-click the Spotify icon in your system tray to access:

  • Play/Pause
  • Next Track
  • Previous Track
  • Exit

Installation

Prerequisites

  • Windows OS
  • Python 3.8 or higher
  • Spotify Desktop App installed

Quick Install

  1. Download the latest release from the Releases page
  2. Extract the ZIP file
  3. Run spotify_control.exe

Install from Source

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/spotify-global-control.git
cd spotify-global-control
  1. Create a virtual environment (recommended):
python -m venv .venv
.venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the application:
python src/main.py

Building from Source

To build the executable yourself:

  1. Install pyinstaller:
pip install pyinstaller
  1. 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.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Icon created using PIL (Python Imaging Library)
  • Built with Python's pynput library for global keyboard shortcuts
  • Uses pystray for system tray functionality

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%