Add Radarr discovery + tighten arr sync filters
- playback_aware_radarr_discovery.sh: new two-stage movie discovery using recently watched Emby movies as seeds and TMDB recommendations as the similarity engine; scores on recency + rating + vote count; adds HOST*_TMDB_API_KEY alias to detect_hosts() in common.sh - emby_to_sonarr_sync.sh: restrict to SONARR_EMBY_LIBRARIES allowlist (Anime, Kids Shows, Stand-Up Comedy, TV shows) — excludes Youtube and Recorded Sports libraries; add garbage title filter for multi- season folder names (S01-S03) and bare bracket tags ([Prof]) - emby_to_radarr_sync.sh: add _is_episode_title filter to block anime episode files stored in Movies library (underscore/dot patterns, fansub bracket format, episode markers, codec metadata strings) - emby_to_lidarr_sync.sh: add U+FFFD Unicode replacement character filter alongside the existing ASCII ? filter for encoding corruption - master.conf: RADARR_DISCOVERY_* settings, SONARR/RADARR_EMBY_LIBRARIES allowlists, Radarr discovery added to WEEKLY_MAINTENANCE_SCRIPTS
This commit is contained in:
+18
@@ -381,6 +381,7 @@
|
||||
"Docker_Essentials/docker_update_remaining.sh" # pull updates for all other containers
|
||||
"unRAID_Essentials/clear_logs.sh" # purge aged logs — Sunday only, low priority
|
||||
"Media/playback_aware_lidarr_discovery.sh" # behavior-driven music discovery using weekly Emby playback history
|
||||
"Media/playback_aware_radarr_discovery.sh" # behavior-driven movie discovery using TMDB recommendations
|
||||
)
|
||||
|
||||
# Pull updates for all running containers NOT in daily/weekly restart lists.
|
||||
@@ -949,6 +950,23 @@
|
||||
LIDARR_DISCOVERY_REJECT_COOLDOWN=30 # days before re-evaluating a rejected artist
|
||||
LIDARR_DISCOVERY_HISTORY="$DATA_DIR/lidarr_discovery_history.db"
|
||||
|
||||
# Radarr discovery shared settings
|
||||
RADARR_DISCOVERY_THRESHOLD=60 # score to accept candidate (0-100) — lower than Lidarr since movie tastes are broader
|
||||
RADARR_DISCOVERY_LOOKBACK_DAYS=30 # Emby watch history window in days (movies rewatched less often)
|
||||
RADARR_DISCOVERY_MAX_SEEDS=5 # max seed movies from Stage 1
|
||||
RADARR_DISCOVERY_MAX_ADDS=5 # max movies to add per run
|
||||
RADARR_DISCOVERY_MIN_VOTE_COUNT=100 # min TMDB votes to be considered a candidate
|
||||
RADARR_DISCOVERY_MIN_RATING=60 # min TMDB vote_average × 10 (60 = 6.0/10)
|
||||
RADARR_DISCOVERY_REJECT_COOLDOWN=60 # days before re-evaluating a rejected movie
|
||||
RADARR_DISCOVERY_SEED_LIBRARIES=("Movies") # Emby libraries to draw seed movies from
|
||||
RADARR_DISCOVERY_HISTORY="$DATA_DIR/radarr_discovery_history.db"
|
||||
|
||||
# Emby → arr sync library allowlists
|
||||
# Only these Emby library names will be considered by the sync tools.
|
||||
# Names must match exactly as shown in Emby > Dashboard > Libraries.
|
||||
SONARR_EMBY_LIBRARIES=("Anime" "Kids Shows" "Stand-Up Comedy" "TV shows")
|
||||
RADARR_EMBY_LIBRARIES=("Movies" "Kid's Movies")
|
||||
|
||||
# Sonarr shared settings
|
||||
SONARR_ORPHAN_AGE=7 # days — files must be older than this before eligible for deletion
|
||||
SONARR_MAX_DELETE_GB=10 # require --i-know-what-im-doing if deletion exceeds this
|
||||
|
||||
Reference in New Issue
Block a user