From 712dc4ddbbb1d4d172f5f00d75a1cae33d45c09f Mon Sep 17 00:00:00 2001 From: georgekav <> Date: Mon, 6 Jun 2022 20:47:13 +0200 Subject: Pass to yt_dlp a chapter-specific output template When a FFmpegSplitChapters postprocessor is used it is taken into account, in all other cases the default output template is used. --- app/main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app/main.py') diff --git a/app/main.py b/app/main.py index 36c0e94..9fbdf19 100644 --- a/app/main.py +++ b/app/main.py @@ -19,6 +19,7 @@ class Config: 'STATE_DIR': '.', 'URL_PREFIX': '', 'OUTPUT_TEMPLATE': '%(title)s.%(ext)s', + 'OUTPUT_TEMPLATE_CHAPTER': '%(title)s - %(section_number)s %(section_title)s.%(ext)s', 'YTDL_OPTIONS': '{}', } -- cgit