An Audio Player application built using Python, Tkinter, and Pygame.
This application allows users to play and manage audio files in a designated playlist. It features a simple and intuitive user interface with play, pause, stop, skip, and repeat functionalities. Users can also select a folder containing audio files to create a playlist.
Play/Pause audio
Stop audio playback
Download audio from YouTube
Skip to the next or previous track
Repeat playlist functionality
Progress bar to visualize playback progress
Python 3
Pygame library
Tkinter library
PyTube library
FFMpeg library
-
Download the project
-
If you do not already have Python you can download it from here.
-
Open a terminal and navigate to the project folder
$ cd (project directory)
-
Install pygame by running the below
$ python -m pip install pygame
-
Install tkinter by running the below
$ python -m pip install tk
-
Install FFMpeg by running the below
$ python -m pip install ffmpeg
(Recommend running with brew$ brew install ffmpeg
) -
Install PyTube by running the below
$ python -m pip install pytube
(If pip is outdated, install from the source:
$ python -m pip install git+https://github.com/pytube/pytube
)
To run the application you can use the following:
$ python gui2.py
Select a playlist using the button located in the top right.
Control audio playback using the provided buttons (play, pause, stop, skip, repeat).