A feature-rich music player built with Python and MySQL, this application provides a user-friendly interface that supports local MP3 playback and YouTube music integration. Search any song and Spotipy has makes it available for you.
- 🎵 Play local MP3 files
- 🎬 Download and play YouTube music
- 🔍 YouTube music search functionality
- 📱 Windows 10 notifications
- 📊 MySQL database integration for playlist management
- 🎨 Modern GUI with Tkinter
- ⏯️ Basic media controls (play, pause, next, previous)
- 🕒 Real-time progress bar and duration display
- 📂 File browser for local music selection
Make sure you have Python 3.7/3.11 installed and the following dependencies:
pip install pygame mutagen beautifulsoup4 pydub pillow yt-dlp tk youtube-search-python win10toast pywin32 requests pythumb mysql-connector-python- Clone this repository:
git clone https://github.com/Harsh3304/Spotipy.git- Install the required dependencies:
pip install -r requirements.txt- Set up MySQL database:
- Create a new database
- Configure the database connection in the application
- Run the included SQL schema (if provided)
Run the application:
python Spotipy.py-
Local Music Playback
- Click "Browse" to select local MP3 files
- Use media controls to play/pause/skip tracks
-
YouTube Integration
- Search for songs directly in the application
- Download and play YouTube music
- Automatically saves thumbnail and metadata
-
Playlist Management
- Create and manage playlists
- Save favorite tracks
- Queue management
music-player/
├── main.py
├── requirements.txt
├── assets/
│ ├── icons/
│ └── images/
├── downloads/
│ ├── music/
│ └── thumbnails/
└── database/
└── schema.sql
tkinter: GUI frameworkpygame.mixer: Audio playbackmutagen: Audio metadata handlingyt-dlp: YouTube download functionalitypydub: Audio processingmysql.connector: Database connectivitywin10toast: Windows notificationsbeautifulsoup4: Web scrapingpillow: Image processingyoutube-search-python: YouTube search functionality
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Your Name - harshp3304@gmail.com
Project Link: https://github.com/Harsh3304/Spotipy.git


