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 entire YouTube playlist and combines the content into a single media 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 Output filename (must end in .mp3)
-f, --force Whether to skip or abort on failed video downloads
ytp-convert "https://youtube.com/playlist?list=..." -o my_playlist.mp3

For more help, use

ytp-convert --help

🔧 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.2.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.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ytp_convert-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1e07110a536b06b5ba6db9aaa521218a3f4aa75aaae6fe4999cd160179c50bc1
MD5 1069d512c1309010da9352f0ab17637b
BLAKE2b-256 ef65facaaf0242dd3af268c08b47fffd7ea6da793c70a302731843956538812d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ytp_convert-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be3c54c56f636e7a5400671bb8be816f476699b9ac51462bcc1e53b5cae72309
MD5 e015dd713ef4c034ea24b95779daf37d
BLAKE2b-256 48ca202d74cae4196a004bf48b383b973ab1c9d536ae7d4a71b9d1a5deef4516

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