Bring script headers onto the template and close safeguard gaps
Headers claimed protections the code never had, and several destructive paths had no guard against a collapsed config value.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# Goal: 0–5 meaningful Radarr adds per run, not bulk imports.
|
||||
#
|
||||
# ==============================================================================================
|
||||
# FLOW
|
||||
# OPERATIONAL MODEL
|
||||
# ==============================================================================================
|
||||
#
|
||||
# 1. Fetch recently watched movies from Emby (SEED_LIBRARIES, last LOOKBACK_DAYS days)
|
||||
@@ -56,12 +56,28 @@
|
||||
# Max adds: RADARR_DISCOVERY_MAX_ADDS (default 5)
|
||||
#
|
||||
# ==============================================================================================
|
||||
# REQUIREMENTS
|
||||
# CONFIGURATION
|
||||
# ==============================================================================================
|
||||
#
|
||||
# TMDB API key — required for Stage 2 recommendations
|
||||
# Configure HOST*_TMDB_API_KEY in host*.conf
|
||||
# Free key at: https://www.themoviedb.org/settings/api
|
||||
# host*.conf (aliased by detect_hosts())
|
||||
#
|
||||
# HOST*_TMDB_API_KEY Required for Stage 2 recommendations. Free key at
|
||||
# https://www.themoviedb.org/settings/api — without it the run
|
||||
# exits cleanly rather than adding anything unscored.
|
||||
# RADARR_URL / RADARR_API_KEY Target arr
|
||||
# EMBY_URL / EMBY_API_KEY Play history source for seed selection
|
||||
#
|
||||
# master.conf
|
||||
#
|
||||
# RADARR_DISCOVERY_THRESHOLD Score required to accept a candidate (0-100)
|
||||
# RADARR_DISCOVERY_LOOKBACK_DAYS Emby watch history window
|
||||
# RADARR_DISCOVERY_MAX_SEEDS Max seed movies taken from Stage 1
|
||||
# RADARR_DISCOVERY_MAX_ADDS Hard cap on movies added per run
|
||||
# RADARR_DISCOVERY_MIN_VOTE_COUNT Min TMDB votes for a candidate to be considered
|
||||
# RADARR_DISCOVERY_MIN_RATING Min TMDB vote_average × 10
|
||||
# RADARR_DISCOVERY_REJECT_COOLDOWN Days before a rejected movie is re-evaluated
|
||||
# RADARR_DISCOVERY_SEED_LIBRARIES Emby libraries to draw seed movies from
|
||||
# RADARR_DISCOVERY_HISTORY Decision history DB — accepted and rejected
|
||||
#
|
||||
# ==============================================================================================
|
||||
# DESIGN PRINCIPLES
|
||||
|
||||
Reference in New Issue
Block a user