# Metadata Resolution Configuration
# Defines how fields are merged from external sources into local DB

defaults:
  setCoverImage: true
  setOrganized: true
  includeMalePerformers: true
  skipMultipleMatches: true
  skipMultipleMatchesTag: null  # optional tag ID to mark skipped items
  skipSingleNamePerformers: false
  skipSingleNamePerformerTag: null  # optional tag ID

  # Field strategies: IGNORE | MERGE | OVERWRITE
  fieldOptions:
    - field: "title"
      strategy: "MERGE"
    - field: "date"
      strategy: "MERGE"
    - field: "details"
      strategy: "MERGE"
    - field: "url"
      strategy: "MERGE"
    - field: "director"
      strategy: "MERGE"
    - field: "code"
      strategy: "MERGE"
    - field: "performers"
      strategy: "MERGE"
      createMissing: true
    - field: "tags"
      strategy: "MERGE"
      createMissing: true
    - field: "studio"
      strategy: "MERGE"
      createMissing: true

# Per-source overrides
overrides:
  tpdb:
    skipSingleNamePerformers: true
    skipSingleNamePerformerTag: null
  ae:
    setCoverImage: false
