From d4ea34253014ab181eaeae1e626b4a3d6f667098 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 11 Apr 2025 18:02:47 +0300 Subject: [PATCH] Updated Cookbook (markdown) --- Cookbook.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cookbook.md b/Cookbook.md index d999e7c..526c873 100644 --- a/Cookbook.md +++ b/Cookbook.md @@ -1,5 +1,13 @@ Here you can find various useful configurations that can be set via the `YTDL_OPTIONS` and `YTDL_OPTIONS_FILE` environment variables. +### English subtitles & chapter marks, permissions, modification timestamp + +Embeds English subtitles and chapter markers (for videos that have them), changes the permissions on the downloaded video, and sets the file modification timestamp to the date of when it was downloaded. + +```json +{"writesubtitles":true,"subtitleslangs":["en","-live_chat"],"updatetime":false,"postprocessors":[{"key":"Exec","exec_cmd":"chmod 0664","when":"after_move"},{"key":"FFmpegEmbedSubtitle","already_have_subtitle":false},{"key":"FFmpegMetadata","add_chapters":true}]} +``` + ### Automatically marking MeTube downloads with SponsorBlock chapters Mimics the command `yt-dlp --sponsorblock-mark sponsor,selfpromo,intro,outro,poi_highlight`.