Skip to content

Awk/bash script to split an album from YouTube into separate tracks. Depends on youtube-dl

License

Notifications You must be signed in to change notification settings

Pab0/album_splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

album_splitter

Simple awk/bash script to split a (single-video) album from YouTube into separate tracks, based on the tracks listed in its description.

Syntax

./album_splitter.sh URL [download_location]

How to use

Simply copy the album's YouTube URL and pass it as an argument to album_splitter.sh:

./album_splitter.sh https://www.youtube.com/watch?v=3x4mpl3_1d

The script will then download the audio, and create a new directory containing the separate tracks and a tracklist.

By default, the album will be downloaded to the current directory. Another directory may be specified as an argument after the URL, such as:

./album_splitter.sh https://www.youtube.com/watch?v=3x4mpl13_1d ~/Music

The YouTube video should contain the titles/timestamps in its description, which the script uses to determine each track.

Requirements

  • youtube-dl
  • ffmpeg (should have been installed with youtube-dl)
  • awk (should already be installed on most systems)

About

Awk/bash script to split an album from YouTube into separate tracks. Depends on youtube-dl

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published