A sleek and simple desktop music player built with Python and Tkinter that plays local MP3 files from a Musics/
folder. It extracts metadata and album cover from the audio file and displays it with playback controls.
- ✅ Load all MP3 files from the
Musics/
directory - 🖼️ Automatically displays album art (if embedded in ID3 tag)
▶️ Play / ⏸ Pause / ⏭ Next / ⏮ Previous controls- ⏱️ Shows track duration and current position
- 📟 Displays file name and status
- 🔥 Lightweight and responsive GUI
project-folder/
│
├── main.py
└── Musics/
├── song1.mp3
├── song2.mp3
└── ...
Install required Python libraries using pip:
pip install pygame mutagen pillow
After placing your MP3 files into the Musics/
folder, run the player:
python main.py
Make sure your MP3 files include ID3 album art tags if you want cover images to display.
Created with ❤️ by Mostafa Baghi