From 12767d7350de75bcd7b4a46d015bfa02490b1108 Mon Sep 17 00:00:00 2001 From: SBCrumb Date: Fri, 26 Sep 2025 13:47:11 -0400 Subject: [PATCH] fix: Remove invalid webhook_secret parameter from SonarrClient SonarrClient constructor only accepts base_url and api_key parameters. Version bump to 2.0.2-clean --- VERSION | 2 +- nfoguard.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 301ecec..6a66477 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.1-clean +2.0.2-clean diff --git a/nfoguard.py b/nfoguard.py index 217cb65..51a3eca 100644 --- a/nfoguard.py +++ b/nfoguard.py @@ -1730,9 +1730,7 @@ path_mapper = PathMapper(config) # FIXED: Pass config to PathMapper # Initialize Sonarr client using environment variables sonarr = SonarrClient( base_url=os.environ.get("SONARR_URL", ""), - api_key=os.environ.get("SONARR_API_KEY", ""), - webhook_secret=os.environ.get("SONARR_WEBHOOK_SECRET", ""), - enabled=bool(os.environ.get("SONARR_URL", "")) + api_key=os.environ.get("SONARR_API_KEY", "") ) # Use new clean TV processor