From 72af217e8cd8142671e13f51525c42c4032181bc Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 23 May 2023 15:52:48 +0200 Subject: [PATCH] vidl: Enable automatic chapter embedding --- scripts/.local/bin/vidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/.local/bin/vidl b/scripts/.local/bin/vidl index 9c51b86..a86ac8f 100755 --- a/scripts/.local/bin/vidl +++ b/scripts/.local/bin/vidl @@ -135,7 +135,7 @@ setup() { DL_FOLDER="${DL_FOLDER:-${XDG_VIDEOS_DIR:-$HOME/videos}/inbox}" ARCHIVE_FOLDER="${ARCHIVE_FOLDER:-${XDG_VIDEOS_DIR:-$HOME/videos}/archive}" YT_DL_CMD="${YT_DL_CMD:-yt-dlp}" - yt_default_opts=(-f "best[height\<=1080]" --retries 15 --embed-subs --sub-lang "en,de,es,fr") + yt_default_opts=(-f "best[height\<=1080]" --retries 15 --embed-chapters --embed-subs --sub-lang "en,de,es,fr") declare -a YT_DL_OPTS=${YT_DL_OPTS:-( "${yt_default_opts[@]}" )} YT_DL_TITLE="${YT_DL_TITLE:-%(channel)s_%(title)s_%(id)s}" # this title needs to be without extension