This is a simple music player application built using Python's tkinter
for the GUI and pygame
for audio playback. The application allows users to play and manage their music files in a playlist-like interface.
- Play, pause, stop, and navigate through songs.
- Adjust volume using a slider control.
- Display song progress using a progress slider.
- Add individual songs or multiple songs to the playlist.
- Delete songs from the playlist or clear the entire playlist.
- Python 3.x
tkinter
librarypygame
librarymutagen
libraryPillow
library for image support
You can install all the required dependencies by running the following command:
pip install -r requirements.txt
- Run the script using
python main.py
. - The application window will appear, showing the playlist and control buttons.
- Use the "Add Songs" menu to add individual songs or multiple songs to the playlist.
- Use the control buttons to navigate and manage the playlist:
- Play/Pause: Play or pause the current song.
- Stop: Stop the playback.
- Next/Previous: Move to the next or previous song.
- Adjust the volume using the volume slider.
- The progress slider shows the current playback progress. Drag the slider to jump to a specific position within the song.
- Use the "Remove Songs" menu to delete individual songs or clear the entire playlist.
- T 5CE5 he script assumes that the audio files are located in the "audio" directory.
- Ensure that the image files referenced in the script (e.g., icons) are present in the "assets" directory.
This project is licensed under the MIT License.