presets:

  #############################################################################
  # Only Recent Archive
  #   Downloads only `date_range` amount of videos (no deletion)

  "Only Recent Archive":
    # Only fetch videos after today minus date_range
    date_range:
      after: "today-{only_recent_date_range}"

    # Set the default date_range to 2 months
    overrides:
      only_recent_date_range: "2months"

  #############################################################################
  # Only Recent
  #   Downloads only `date_range` amount of videos and deletes older videos
  #   that fall out of that range

  "Only Recent":
    preset:
      - "Only Recent Archive"

    output_options:
      keep_files_after: "today-{only_recent_date_range}"
      keep_max_files: "{only_recent_max_files}"

    overrides:
      only_recent_max_files: 0

  #############################################################################
  # Download in Chunks
  #   Will only download 20 videos per invocation of ytdl-sub, starting
  #   at the very beginning of the channel

  chunk_initial_download:  # legacy preset name
    ytdl_options:
      max_downloads: "{chunk_max_downloads}"
      playlistreverse: True
      break_on_existing: False
    overrides:
      chunk_max_downloads: 20

  "Chunk Downloads":
    preset:
      - chunk_initial_download