summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-08-18 12:19:31 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-08-18 12:21:21 +0200
commit01c5d398974d2b680f5adfcfb2567ab6c6abdeff (patch)
treecfdbb1d1471e4dbb8358890819e21be524024c7c
parent28d3b2982b2342f22617078706fc7db4d14a52b0 (diff)
Add yt-dlp-playlist command:
It downloads a whole youtube playlist with the correct names: 01-... 02-... ...
-rw-r--r--bash/dot-bash_aliases2
1 files changed, 2 insertions, 0 deletions
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'