From 5d2b9d8eb5d243bf623032fbd173a581b0fc0d66 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 9 Dec 2022 16:32:12 -0500 Subject: [PATCH] [50] add arr trace output --- VERSION | 2 +- docs/config/radarr.md | 1 + modules/radarr.py | 7 +++++++ modules/sonarr.py | 10 ++++++++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 6d11891f..0b405b30 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.0-develop49 +1.18.0-develop50 diff --git a/docs/config/radarr.md b/docs/config/radarr.md index 7db18774..956ea7d2 100644 --- a/docs/config/radarr.md +++ b/docs/config/radarr.md @@ -15,6 +15,7 @@ radarr: token: ################################ add_missing: false add_existing: false + upgrade_existing: false root_folder_path: S:/Movies monitor: movie availability: announced diff --git a/modules/radarr.py b/modules/radarr.py index c8583e36..2182da0f 100644 --- a/modules/radarr.py +++ b/modules/radarr.py @@ -60,6 +60,13 @@ class Radarr: quality_profile = options["quality"] if "quality" in options else self.quality_profile tags = options["tag"] if "tag" in options else self.tag search = options["search"] if "search" in options else self.search + logger.trace(f"Upgrade Existing: {upgrade_existing}") + logger.trace(f"Folder: {folder}") + logger.trace(f"Monitor: {monitor}") + logger.trace(f"Availability: {availability}") + logger.trace(f"Quality Profile: {quality_profile}") + logger.trace(f"Tags: {tags}") + logger.trace(f"Search: {search}") arr_paths = {} arr_ids = {} diff --git a/modules/sonarr.py b/modules/sonarr.py index 1faa0989..9840b025 100644 --- a/modules/sonarr.py +++ b/modules/sonarr.py @@ -84,6 +84,16 @@ class Sonarr: tags = options["tag"] if "tag" in options else self.tag search = options["search"] if "search" in options else self.search cutoff_search = options["cutoff_search"] if "cutoff_search" in options else self.cutoff_search + logger.trace(f"Upgrade Existing: {upgrade_existing}") + logger.trace(f"Folder: {folder}") + logger.trace(f"Monitor: {monitor}") + logger.trace(f"Quality Profile: {quality_profile}") + logger.trace(f"Language Profile: {language_profile}") + logger.trace(f"Series Type: {series_type}") + logger.trace(f"Season: {season}") + logger.trace(f"Tags: {tags}") + logger.trace(f"Search: {search}") + logger.trace(f"Cutoff Search: {cutoff_search}") arr_paths = {} arr_ids = {}