aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/playlist-dl
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/playlist-dl')
-rwxr-xr-x.local/bin/playlist-dl8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/playlist-dl b/.local/bin/playlist-dl
new file mode 100755
index 0000000..583d62d
--- /dev/null
+++ b/.local/bin/playlist-dl
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+yt-dlp \
+ -o '%(playlist)s/%(title)s.%(ext)s' \
+ -x \
+ --audio-format "mp3" \
+ --parse-metadata "playlist_index:%(track_number)s" \
+ --add-metadata \
+ --embed-metadata $@