From 9e9591ce37e6749d26093e738e778d2f797c60a2 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 23 May 2025 10:42:24 +0300 Subject: [PATCH] Updated YTDL_OPTIONS Cookbook (markdown) --- YTDL_OPTIONS-Cookbook.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/YTDL_OPTIONS-Cookbook.md b/YTDL_OPTIONS-Cookbook.md index 7c099ba..e722054 100644 --- a/YTDL_OPTIONS-Cookbook.md +++ b/YTDL_OPTIONS-Cookbook.md @@ -9,6 +9,17 @@ Embeds English subtitles and chapter markers (for videos that have them), change - 'YTDL_OPTIONS={"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}]}' ``` +### Embed metadata + +Contributed by [@PikuZheng](https://github.com/PikuZheng). + +NOTE: May cause errors for non-Youtube videos. + +```yaml + environment: + - 'YTDL_OPTIONS={ "ignoreerrors":true, "writethumbnail":true, "postprocessors":[ {"key":"FFmpegMetadata","add_metadata":true,"add_chapters":true,"add_infojson":"if_exists"}, {"key":"EmbedThumbnail"}]}' +``` + ### Automatically marking MeTube downloads with SponsorBlock chapters Contributed by [@loomweaver](https://github.com/loomweaver).