Updated Cookbook (markdown)

Alex
2025-04-11 17:56:48 +03:00
parent 4181e8c5a6
commit 2090e0c544
+24 -2
@@ -1,3 +1,25 @@
Here you can find various useful configurations that can be set via the YTDL_OPTIONS and YTDL_OPTIONS_FILE environment variables.
Here you can find various useful configurations that can be set via the `YTDL_OPTIONS` and `YTDL_OPTIONS_FILE` environment variables.
* [Automatically marking MeTube downloads with SponsorBlock chapters](Cookbook/SponsorBlock)
### Automatically marking MeTube downloads with SponsorBlock chapters
Mimics the command `yt-dlp --sponsorblock-mark sponsor,selfpromo,intro,outro,poi_highlight`.
```json
{"postprocessors": [{"api":"https://sponsor.ajay.app/","categories": ["intro",
"outro",
"poi_highlight",
"selfpromo",
"sponsor"],
"key": "SponsorBlock",
"when": "after_filter"},
{"force_keyframes":false,
"key": "ModifyChapters",
"remove_chapters_patterns": [],
"remove_ranges": [],
"remove_sponsor_segments":"set()",
"sponsorblock_chapter_title": "'[SponsorBlock]: ''%(category_names)l'"},
{"add_chapters": true,
"add_infojson": "none",
"add_metadata": false,
"key": "FFmpegMetadata"}]}
```