A CLI tool to convert YouTube playlists into a single MP3 file
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
🎵 ytp2mp3
ytp2mp3 is a Python-based command-line tool that downloads a YouTube playlist and merges all audio tracks into a single .mp3 file.
Enjoy listening to your favorite playlists as one contiguous audio file, and skip advertisements.
🚀 Features
- Downloads entire YouTube playlists
- Extracts audio only
- Merges all tracks into one
.mp3file - Cross-platform (Windows, macOS, Linux)
- Built with
yt-dlp,pydub, andffmpeg
📦 Installation
Installation of Python is required. You can install the tool from PyPI
pip install ytp2mp3
⚠️ ffmpeg is required — see below.
Usage
| Option | Description |
|---|---|
url (positional) |
The YouTube playlist URL |
-o, --output |
Name of the output .mp3 file (default: combined.mp3) |
-f, --force |
Whether to skip or abort on failed video downloads |
🔧 System Requirement: ffmpeg
pydub requires ffmpeg to process audio streams.
macOS
brew install ffmpeg
Ubuntu / Debian
sudo apt install ffmpeg
Windows
Download from ffmpeg.org
Add the bin/ folder to your system PATH
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ytp2mp3-0.2.0.tar.gz.
File metadata
- Download URL: ytp2mp3-0.2.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
471607d31a37d4a86bfe38e8df31242b1a376d3927d3c59a1b567ec3e4c1f647
|
|
| MD5 |
69b669b5cef1a59dc59a0810f2ac4caf
|
|
| BLAKE2b-256 |
0df61f153f57f10b5425e2b0a4829e6a1d763ab8bfbf0a79b7b7b43e98ff4c6f
|
File details
Details for the file ytp2mp3-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ytp2mp3-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b8c442d4f425ccc848a344131d48b3e71df9066848b6f6ad3283b845cdb5fab
|
|
| MD5 |
d08863842111141de87a5009e1f67d0d
|
|
| BLAKE2b-256 |
1d003610e26824c650d892b62d5b32cdf813dc11de1a8b7f6d18c2138e1759ae
|