---
# memocadre settings file
# Slideshow settings
slideshow:
  display_duration: "30s" # Minimum time each photo is displayed before switching to the next. Format is a duration string (e.g., "10s", "1m", "2h"). Defaults to "30s".
  transition_duration: "500ms" # Duration of the transition effect between photos. Format is a duration string (e.g., "500ms", "1s", "2s"). Defaults to "500ms".
  rotation: 0 # Screen rotation in degrees. Possible values: 0, 90, 180, 270. Defaults to 0 (no rotation).

  # Settings for the initial slide shown before photos are loaded.
  init_slide:
    type: loading-circle # Type of initial slide to display. Possible values: "loading-circle", "empty". Defaults to "loading-circle".
    loading_circle:
      velocity: 1.5 # Number of rotations per second for the loading circle animation. Defaults to 1.5.

  # Settings for the background displayed around photos when they don't fill the entire screen.
  background:
    type: blur # Type of background. Possible values: "blur", "black". Defaults to "blur" (blurred version of the photo).
    blur:
      min_free_space: 50 # Minimum percentage of free space around the photo to trigger background blur. If free space is less than this, the background will be black instead of blurred to save resources. Defaults to 50.

  # Settings for the blur effect used for background and potentially other effects.
  blur_options:
    radius: 6.0 # Radius of the blur effect. Higher values mean more blur. Defaults to 6.0.
    passes: 3 # Number of blur passes. More passes can improve blur quality but increase processing time. Defaults to 3.

  # Settings for the caption (photo information) displayed at the bottom of the screen.
  caption:
    enabled: true # Whether to display captions. Defaults to true.
    font_size: 28 # Font size of the caption text. Defaults to 28.
    date_format:
      format: "%A, %e. %B %Y" # Format string for displaying the date in the caption. Uses chrono format specifiers (see https://docs.rs/chrono/0.4.39/chrono/format/strftime/index.html). Defaults to "%A, %e. %B %Y" (e.g., "Monday, 1. January 2024").
      locale: "en_US" # Locale for date formatting.  Uses standard locale codes (e.g., "en_US", "de_DE", "fr_FR"). Defaults to "en_US" (English, United States).

  # Filter used when downscaling images to fit the display.
  downscaled_image_filter: lanczos3 # Filter algorithm for downscaling images. Possible values: "nearest", "triangle", "catmull-rom", "gaussian", "lanczos3". "lanczos3" generally provides the best quality but may be slightly slower. Defaults to "lanczos3".

  # Debug settings - for development and troubleshooting
  debug:
    show_fps: false # Whether to display a frames-per-second (FPS) counter on the screen. Useful for debugging performance issues. Defaults to false.
