From 7027ae27451acf4683b3b53d490cb6135c8ead45 Mon Sep 17 00:00:00 2001 From: SBCrumb Date: Fri, 26 Sep 2025 16:42:35 -0400 Subject: [PATCH] update to nfoguard.py --- nfoguard.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nfoguard.py b/nfoguard.py index 81bfba2..5f7d66c 100644 --- a/nfoguard.py +++ b/nfoguard.py @@ -400,8 +400,13 @@ class TVProcessor: disk_episodes = {} video_exts = (".mkv", ".mp4", ".avi", ".mov", ".m4v") + _log("DEBUG", f"Scanning for episodes in: {series_path}") + _log("DEBUG", f"Looking for season dirs with pattern: '{config.tv_season_dir_pattern}'") + for season_dir in series_path.iterdir(): + _log("DEBUG", f"Checking: {season_dir.name} (is_dir: {season_dir.is_dir()})") if not (season_dir.is_dir() and season_dir.name.lower().startswith(config.tv_season_dir_pattern)): + _log("DEBUG", f"Skipping {season_dir.name} - doesn't match season pattern") continue try: