Skip to main content

A CLI tool to convert YouTube playlists into a single file

Project description

🎵 ytp-convert

PyPI version

ytp-convert is a Python-based command-line tool that downloads a YouTube playlist and merges all audio tracks into a single file.

Enjoy listening to your favorite playlists as one contiguous audio file, and skip advertisements.


🚀 Features

  • Downloads entire YouTube playlists
  • Merges all tracks into one 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 ytp-convert

⚠️ 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


Download files

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

Source Distribution

ytp_convert-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

ytp_convert-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file ytp_convert-1.0.0.tar.gz.

File metadata

  • Download URL: ytp_convert-1.0.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

Hashes for ytp_convert-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5e906763d7ab4f68caf96259afc9a7a81fb767743ab1c9a3dd42172c008c4cbd
MD5 f4036eac9d82b302aa5db1751d54978e
BLAKE2b-256 f30f22a453ba8d58a955007841b2d8c37b46356f137103f2538fb425b6896c92

See more details on using hashes here.

File details

Details for the file ytp_convert-1.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ytp_convert-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a749c5836a75aac220e618f7d978b862f7ba70936ae0443c724578d5f42f4054
MD5 7b24bf615cb962ff555e3d7f4b7aef67
BLAKE2b-256 9edd174b3de32f746dac31202284d63511dd3b08cf5f546bb129e3123b9743d2

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