| 1 | # ytdl-sub tool configuration — the channel list lives in subscriptions.yaml |
| 2 | configuration: |
| 3 | working_directory: "/config/work" |
| 4 | |
| 5 | presets: |
| 6 | # per-channel backlog control: only download uploads on/after download_after |
| 7 | # (yyyymmdd). subscriptions.yaml sets the default and per-channel values. |
| 8 | only-after: |
| 9 | date_range: |
| 10 | after: "{download_after}" |
| 11 | overrides: |
| 12 | download_after: "19700101" |
| 13 | |
| 14 | # output for the Independent library, which is a jellyfin "home videos" |
| 15 | # library: flat files (no Season <year> folder), movie-style nfo (that |
| 16 | # library type parses nfo with the movie parser, not episodedetails), |
| 17 | # title without the date prefix, and the thumbnail named exactly like the |
| 18 | # video so jellyfin uses it as the card image. |
| 19 | flat-videos: |
| 20 | nfo_tags: |
| 21 | nfo_root: "movie" |
| 22 | tags: |
| 23 | title: "{title}" |
| 24 | premiered: "{episode_date_standardized}" |
| 25 | overrides: |
| 26 | episode_file_path: "{episode_file_name_sanitized}" |
| 27 | episode_file_name: "{upload_date_standardized} - {file_title}" |
| 28 | thumbnail_file_name: "{episode_file_path}.jpg" |
| 29 | # sponsorblock: cut paid sponsor reads, self-promo (merch/patreon), and |
| 30 | # like/subscribe reminders out of newly downloaded videos. intros, outros, |
| 31 | # and all real content are kept. applies to new downloads only (the archive |
| 32 | # remembers what's already fetched). segment data is crowd-sourced from the |
| 33 | # sponsorblock api, which isn't affected by youtube bot walls. |
| 34 | chapters: |
| 35 | sponsorblock_categories: |
| 36 | - sponsor |
| 37 | - selfpromo |
| 38 | - interaction |
| 39 | remove_sponsorblock_categories: |
| 40 | - sponsor |
| 41 | - selfpromo |
| 42 | - interaction |