Common#

Media Quality#

presets:

  #############################################################################
  # Best Video Quality
  #   Gets the best available quality

  best_video_quality:
    format: "bestvideo+bestaudio/best"
    ytdl_options:
      merge_output_format: "mp4"

  "Best Video Quality":
    preset: 
      - best_video_quality

  #############################################################################
  # Max 2160p

  "Max 2160p":
    format: "(bv*[height<=2160]+bestaudio/best[height<=2160])"
    ytdl_options:
      merge_output_format: "mp4"

  #############################################################################
  # Max 1440p

  "Max 1440p":
    format: "(bv*[height<=1440]+bestaudio/best[height<=1440])"
    ytdl_options:
      merge_output_format: "mp4"

  #############################################################################
  # Max 1080p

  max_1080p:  # legacy name
    format: "(bv*[height<=1080]+bestaudio/best[height<=1080])"
    ytdl_options:
      merge_output_format: "mp4"

  "Max 1080p":
    preset:
      - max_1080p

  #############################################################################
  # Max 720p

  "Max 720p":
    format: "(bv*[height<=720]+bestaudio/best[height<=720])"
    ytdl_options:
      merge_output_format: "mp4"

  #############################################################################
  # Max 480p

  "Max 480p":
    format: "(bv*[height<=480]+bestaudio/best[height<=480])"
    ytdl_options:
      merge_output_format: "mp4"

Only Recent Videos#

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:
      date_range: "2months"  # keep for legacy-reasons
      only_recent_date_range: "{date_range}"

  #############################################################################
  # 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: 20
      playlistreverse: True
      break_on_existing: False

  "Download in Chunks":
    preset:
      - chunk_initial_download