A simple music player implemented in Python, featuring a graphical user interface (GUI) and various functionalities for managing and playing music files.
- Folder monitoring: Automatically detects changes in the selected music folder and updates the song list.
- Song selection: Allows users to browse and select songs from the displayed list.
- Playback controls: Provides controls to play, pause, skip to the next/previous song.
- Volume adjustment: Enables users to adjust the volume of the currently playing song.
- Automatic song transition: Plays the next song in the playlist automatically when the current song ends.
- Python 3.9 or higher
- Pygame library
- Install the required dependencies:
pip install pygame - Run the
main.pyscript. - Select a folder containing your music files.
- Click on a song in the displayed list to start playback.
- Use the provided controls for playback, volume adjustment, and song navigation.
The code can be easily customized to add new features or modify the existing functionality. Feel free to explore and adapt it to suit your specific requirements.
The music player is compatible with various operating systems, including Windows, macOS, and Linux. It ensures efficient memory usage, low CPU consumption, and smooth transitions between songs.