Music Player GUI

This Python project is a Music Player with a Graphical User Interface (GUI). It allows users to select and play audio files, providing basic playback controls and a visual interface for managing and enjoying their music collection.

Libraries Used

  • tkinter (for GUI)
  • os (for file system operations)
  • time (for time-related functions)
  • mixer (from pygame, for audio playback)

Features

  • Graphical User Interface (GUI): The application provides an easy-to-use interface for playing audio files.
  • File Selection: Users can select audio files from their local storage for playback.
  • Playback Controls: Standard playback controls include play, pause, stop, and volume adjustment.
  • Playlist Management: Users can create and manage playlists for convenient access to their favorite songs.
  • Audio Visualization: Basic audio visualization is provided through a visual representation of the currently playing song.
  • Track Information: The application displays track information, including the title and artist.
  • Seek Control: Users can seek to specific points in a track.
  • Playlist Looping and Shuffling: Options for looping and shuffling the playlist for continuous music playback.
  • Time Display: Real-time display of the current playback time and track duration.
  • File Browser: An integrated file browser to select and add songs to the playlist.

Prerequisites

Before running the script, make sure you have:

  • Python 3.x installed
  • The required libraries installed (tkinter, pygame)

You can install these libraries using pip:

pip install pygame

Usage

  1. Clone this repository to your local machine:
git clone https://github.com/mrnithish/music-player-tkinter.git
  1. Navigate to the project directory:
cd music-player-tkinter
  1. Run the Python script to start the music player GUI:
python player.py
  1. Use the GUI to load audio files, create playlists, and enjoy your music.

Customization

You can customize the project by modifying the GUI layout and styles or adding additional features, such as equalizers or more advanced playlist management.

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/fooBar).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add some fooBar').
  5. Push to the branch (git push origin feature/fooBar).
  6. Create a new Pull Request.

License

This project is licensed under the Apache - see the LICENSE.md file for details.