/MP3-player

MP3 player in Python

Primary LanguageJupyter Notebook

MP3 Player

This is a simple MP3 player that allows you to play, pause, and stop MP3 files using Python and the VLC library. The program uses PySimpleGUI to create a simple GUI for selecting and controlling the MP3 playback.

Below is a screenshot of the MP3 player

Installation

The following libraries are required to run the program:

  • vlc
  • PySimpleGUI

You can install these libraries using pip:

pip install python-vlc
pip install PySimpleGUI

Usage

To use the MP3 player, simply run the Untitled.ipynb script. You will be presented with a simple window that allows you to browse for an MP3 file and control playback.

  1. Click on the Browse button to select an MP3 file.
  2. Click on the Play button to start playback.
  3. Click on the Pause button to pause playback.
  4. Click on the Stop button to stop playback. You can exit the program by clicking on the X button in the top-right corner of the window or by pressing the OK button.