/pitzulit

Extract tracks from an album hosted on YouTube

Primary LanguageOCamlMIT LicenseMIT

Pitzulit

Extract tracks from an album hosted on YouTube (or any host supported by youtube-dl) based on the timestamps in its description. Expects ffmpeg, eyeD3, and youtube-dl to exist in your $PATH.

Usage

Download the latest release binary from https://github.com/it-is-wednesday/pitzulit/releases. Copy a YouTube (or any other streaming service supported by youtube-dl) album video URL and pass it to Pitzulit:

./pitzulit URL

Running this command will create a new directory titled after the album's name. It will contains audio files, each file being a track from the album.

Building

opam switch create pitzulit 4.12.0
dune build pitzulit.opam
opam pin . --switch pitzulit
dune build
cp _build/default/bin/main.exe pitzulit

Alternatives

  • album-splitter Does everything Pitzulit does, and more. It's better actually
  • yt-dlp has the --split-chapters flag, if the video is divided into chapters