diff options
Diffstat (limited to 'dot_config/yt-dlp')
| -rw-r--r-- | dot_config/yt-dlp/executable_config.tmpl | 33 | ||||
| -rw-r--r-- | dot_config/yt-dlp/executable_tmpdl.tmpl | 10 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dot_config/yt-dlp/executable_config.tmpl b/dot_config/yt-dlp/executable_config.tmpl new file mode 100644 index 0000000..60cad5e --- /dev/null +++ b/dot_config/yt-dlp/executable_config.tmpl @@ -0,0 +1,33 @@ +#--proxy socks5h://localhost:9050 + +--sub-langs en.* +--embed-subs + +--sponsorblock-mark intro,outro,sponsor + +--restrict-filenames + +--sleep-requests 10 +--sleep-interval 10 +--max-sleep-interval 15 +--sleep-subtitles 4 + +{{- if eq .chezmoi.hostname "Aragorn" }} +-S "+vcodec:avc" +--remux-video "mkv" +--js-runtimes bun +-f "bv*[height<=1080]+ba/b[height<=1080]" +{{- else }} +-f "bv+ba/b" +{{- end }} + +-o "/home/tom/media/yt/%(uploader)s/%(upload_date>%Y-%m-%d)s_%(title)s.%(ext)s" +#-o "/home/tom/media/yt/%(uploader)s/%(playlist&{}|all)s/%(upload_date>%Y-%m-%d)s_%(title)s.%(ext)s" + +#-o "/home/tom/media/yt/%(uploader)s/%(playlist&{}|all)s/%(playlist_index&{}-|)s_%(title)s.%(ext)s" + +#-o "/home/tom/media/yt/%(playlist&{}|all)s/%(playlist_index&{}-|)s%(title)s.%(ext)s" +#-o "/home/tom/media/yt/workout/%(title)s.%(ext)s" + +#-f "bv*[height<=720]+ba/b[height<=720]" +#-o "/tmp/yt/%(uploader)s/%(playlist_index&{}-|)s%(title)s.%(ext)s" diff --git a/dot_config/yt-dlp/executable_tmpdl.tmpl b/dot_config/yt-dlp/executable_tmpdl.tmpl new file mode 100644 index 0000000..7981b8e --- /dev/null +++ b/dot_config/yt-dlp/executable_tmpdl.tmpl @@ -0,0 +1,10 @@ +--sub-langs en.* +--embed-subs + +--sponsorblock-mark intro,outro,sponsor + +-f "bv*[height<=720]/ba*" +-S "+vcodec:avc" +--remux-video "mkv" + +-o "/tmp/yt/%(uploader)s/%(playlist_index&{}-|)s%(title)s.%(ext)s" |