Skip to content

A lightweight Python music player app that reads song URLs from a text file, enabling seamless playback and easy management of your favorite tracks.

License

Notifications You must be signed in to change notification settings

mostafabaghi/python-music-player-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 Python Music Player App

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.


🚀 Features

  • ✅ 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

📂 Folder Structure

project-folder/
│
├── main.py
└── Musics/
    ├── song1.mp3
    ├── song2.mp3
    └── ...

📦 Installation

Install required Python libraries using pip:

pip install pygame mutagen pillow

▶️ Run the App

After placing your MP3 files into the Musics/ folder, run the player:

python main.py

📸 Screenshot

Music Player Screenshot


🧠 Tip

Make sure your MP3 files include ID3 album art tags if you want cover images to display.


🔗 Author

Created with ❤️ by Mostafa Baghi

About

A lightweight Python music player app that reads song URLs from a text file, enabling seamless playback and easy management of your favorite tracks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages