From 01c5d398974d2b680f5adfcfb2567ab6c6abdeff Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 18 Aug 2023 12:19:31 +0200 Subject: Add yt-dlp-playlist command: It downloads a whole youtube playlist with the correct names: 01-... 02-... ... --- bash/dot-bash_aliases | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bash') diff --git a/bash/dot-bash_aliases b/bash/dot-bash_aliases index 8c36f52..50e2bc2 100644 --- a/bash/dot-bash_aliases +++ b/bash/dot-bash_aliases @@ -57,3 +57,5 @@ alias yt-dlp-playlist="yt-dlp -o '%(playlist_index)s-%(title)s.%(ext)s' $@" # Email write in vim alias mail='vim +"set ft=markdown"' + +alias yt-album-playlist='yt-dlp --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --audio-quality 160K --parse-metadata "playlist_index:%(track_number)s" --add-metadata --embed-metadata --output "%(playlist_autonumber)02d - %(title)s.%(ext)s" --yes-playlist' -- cgit v1.2.3