This is a Python-based MP3 Player Program with a graphical user interface (GUI) that allows users to create directories, add files to directories, play MP3 files from a specified directory, convert MP4 files to MP3, and download YouTube videos. The GUI is built using tkinter.
- Create Directory: Create a new directory by specifying the path.
- Add Files to Directory: Add files to a specified directory.
- Play MP3s in a Directory: Play MP3 files from a specified directory, with the ability to skip the current song.
- Convert MP4 to MP3: Convert MP4 video files to MP3 audio files.
- YouTube Video Downloader: Download YouTube videos directly from the GUI using
yt-dlp.
- Python 3.x
pydublibrarypygamelibrarytkinterlibrary (usually included with Python)yt-dlplibrary
You can install the required libraries using pip:
pip install pydub pygame tk yt-dlpAdditionally, you need to have ffmpeg installed and accessible from your system's PATH for audio conversion.
- Clone the repository:
git clone https://github.com/thomascaneday/mp3-player.git
cd mp3-player- Install the required Python packages:
pip install -r requirements.txt- Ensure ffmpeg is installed and accessible from your system's PATH.
Run the gui_menu.py script to start the program:
python gui_menu.py