From 2140ab51deed88e90eafebf9520fa5f9995dc7c9 Mon Sep 17 00:00:00 2001 From: twells46 <173561638+twells46@users.noreply.github.com> Date: Wed, 31 Dec 2025 13:28:05 -0600 Subject: Migrate from stow --- dot_config/yt-dlp/executable_config.tmpl | 33 ++++++++++++++++++++++++++++++++ dot_config/yt-dlp/executable_tmpdl.tmpl | 10 ++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dot_config/yt-dlp/executable_config.tmpl create mode 100644 dot_config/yt-dlp/executable_tmpdl.tmpl (limited to 'dot_config/yt-dlp') 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" -- cgit v1.2.3