This is a Python-based Music Player application that allows users to play, pause, resume, and stop music files. The app
features a graphical user interface (GUI) built with Tkinter and uses the pygame library for audio playback. The
interface includes options to add and remove songs from a playlist, control the volume, and display song progress.
- Play Music: Load and play MP3 files from your local storage.
- Playlist Management: Add and remove songs from the playlist.
- Playback Control: Play, pause, resume, and stop the music.
- Volume Control: Adjust the volume with a slider.
- Progress Tracking: Visual progress bar and time labels to track song playback.
- Developer Info: Access information about the developer.
To run this project, you'll need the following Python packages:
pillow==10.4.0pygame==2.6.0tk==0.1.0
You can install these packages using pip:
pip3 install -r requirements.txt-
Clone the repository:
git clone <https://github.com/RafiAhamed07/Music-Player> cd <Music-Player>
-
Install dependencies:
Make sure you have Python installed on your system. Install the required packages by running:
pip3 install -r requirements.txt
-
Run the application:
Start the music player by executing the music_player.py file:
python3 music_player.py
- Add Songs: Use the "Menu > Add songs" option to select and add songs to your playlist.
- Play Music: Select a song from the playlist and click the "Play" button to start playing.
- Control Playback: Use the "Pause", "Resume", and "Stop" buttons to control playback.
- Adjust Volume: Use the volume slider to adjust the music volume.
- Track Progress: The progress bar and time labels show the current and total time of the song.
- Name: Rafi Ahamed
- Email: fidaahamed15@gmail.com