db updates

This commit is contained in:
2025-09-09 08:50:21 -04:00
parent 9fcf5d8303
commit dd215d2f38
9 changed files with 908 additions and 74 deletions
-74
View File
@@ -1,74 +0,0 @@
# =================================
# NFOGuard - Simple Configuration
# =================================
# --- Required: Media Library Paths ---
# Container paths (what NFOGuard sees)
TV_PATHS=/media/tv,/media/tv6
MOVIE_PATHS=/media/movies,/media/movies6
# --- Required: Sonarr/Radarr Connection ---
SONARR_URL=http://sonarr:8989
SONARR_API_KEY=
RADARR_URL=http://radarr:7878
RADARR_API_KEY=
# --- Optional: Direct Radarr Database Access (High Performance) ---
# Enable direct database access for faster import date queries
# Supports both SQLite and PostgreSQL
RADARR_DB_TYPE=postgresql
# For PostgreSQL (recommended for production):
RADARR_DB_HOST=postgres_host
RADARR_DB_PORT=5432
RADARR_DB_NAME=radarr-main
RADARR_DB_USER=postgres
RADARR_DB_PASSWORD=your_password
# Alternative: use connection string
#RADARR_DB_URL=postgresql://user:pass@host:5432/dbname
# For SQLite (if using default Radarr setup):
#RADARR_DB_TYPE=sqlite
#RADARR_DB_PATH=/config/radarr.db
# --- Required: TMDB for Release Dates ---
# Get free API key from https://www.themoviedb.org/settings/api
TMDB_API_KEY=
TMDB_COUNTRY=US
# --- Behavior Settings ---
# Movie processing strategy: import_then_digital, digital_then_import
MOVIE_PRIORITY=import_then_digital
# When to query APIs: always, if_missing, never
MOVIE_POLL_MODE=always
# Update mode: backfill_only, overwrite
MOVIE_DATE_UPDATE_MODE=backfill_only
# Lock metadata in NFO files to prevent overwrites: true, false
LOCK_METADATA=true
# Brand name in NFO comments
MANAGER_BRAND=NFOGuard
# --- CRITICAL: Path Mapping ---
# What Radarr/Sonarr see vs what container sees
RADARR_ROOT_FOLDERS=/mnt/unionfs/Media/Movies/movies,/mnt/unionfs/Media/Movies/movies6
SONARR_ROOT_FOLDERS=/mnt/unionfs/Media/TV/tv,/mnt/unionfs/Media/TV/tv6
# Download path indicators (for nzbget, etc.)
DOWNLOAD_PATH_INDICATORS=/downloads/,/nzbget/,/sabnzbd/,/completed/,/torrents/
# --- Optional: Additional Digital Release Sources ---
#OMDB_API_KEY=your_omdb_api_key_here
JELLYSEERR_URL=http://jellyseerr:5055
JELLYSEERR_API_KEY=
# --- Optional: Advanced Settings ---
BATCH_DELAY=5.0
MAX_CONCURRENT_SERIES=3
TIMEOUT_SECONDS=45
DEBUG=false
DB_PATH=/app/data/media_dates.db
PORT=8080