From e870474f0775dab0b7225e25ce2d9e1c9e8b4e67 Mon Sep 17 00:00:00 2001 From: SBCrumb Date: Thu, 25 Sep 2025 09:32:58 -0400 Subject: [PATCH] debug: Change DEBUG logs to INFO to trace title extraction --- nfoguard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfoguard.py b/nfoguard.py index 6e81903..7424060 100644 --- a/nfoguard.py +++ b/nfoguard.py @@ -779,7 +779,7 @@ class TVProcessor: # If no title from Sonarr, try to extract from filename if not metadata["title"] and season_dir: - _log("DEBUG", f"📁 No title from Sonarr for S{season_num:02d}E{episode_num:02d}, trying filename extraction") + _log("INFO", f"📁 No title from Sonarr for S{season_num:02d}E{episode_num:02d}, trying filename extraction") filename_title = self._extract_title_from_filename(season_dir, season_num, episode_num) if filename_title: metadata["title"] = filename_title @@ -801,7 +801,7 @@ class TVProcessor: import re # Look for video files matching this episode season_pattern = f"S{season_num:02d}E{episode_num:02d}" - _log("DEBUG", f"🔍 Searching for title in files for {season_pattern} in directory: {season_dir}") + _log("INFO", f"🔍 Searching for title in files for {season_pattern} in directory: {season_dir}") for video_file in season_dir.glob("*.mkv"): filename = video_file.name