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

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.2.tar.gz (3.0 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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ytp2mp3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 70874f67eb120e1cab6ee7fc450870d0672e5703eed1a7522aa95cf5c703bd6c
MD5 8be6ca39b3b7c6a61fea414de0e15c92
BLAKE2b-256 2b0bd082242080f82e07fccf7debc771c77ba545e2f83d31ceb21958cffc94a3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ytp2mp3-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 850e83a068782b4a374d6d52ee6f57afbaeb0dca937c17f568b31cabd599bdd4
MD5 6786f52fe2f6c9494a51666216762110
BLAKE2b-256 f5b5cc45875520063d4c917f5961de191339199e94defaca1b4efcc35d5264fa

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