Skip to main content

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

PyPI version

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 .mp3 file
  • Cross-platform (Windows, macOS, Linux)
  • Built with yt-dlp, pydub, and ffmpeg

📦 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)

🔧 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytp2mp3-0.1.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytp2mp3-0.1.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file ytp2mp3-0.1.3.tar.gz.

File metadata

  • Download URL: ytp2mp3-0.1.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ytp2mp3-0.1.3.tar.gz
Algorithm Hash digest
SHA256 161798fcd79fcc8f18f67cd07538423b566c05241a9782b55681ca86a3f85129
MD5 358d30b5586a950a1afe21b01bfdf897
BLAKE2b-256 03d7c0e9c528d3609c5c91c80132bf4c791a04ca362f0f9cfdc4a14b1399c214

See more details on using hashes here.

File details

Details for the file ytp2mp3-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ytp2mp3-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ytp2mp3-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3b340ac8a2bffad8d0e5cf33f910ab20209d2b3102bc4fd887fae2cb2cad6fae
MD5 5c26f9d6d99d1da9cbca86b44094654f
BLAKE2b-256 0ac2a6f8db125695419006ac4b60ad39aa7bebf9eb7c355b7285ff9bfe041d59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page