diff --git a/VERSION b/VERSION index 2ce4589..0047786 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.27 +2.0.28 diff --git a/utils/file_utils.py b/utils/file_utils.py index 74c95df..20e0e79 100644 --- a/utils/file_utils.py +++ b/utils/file_utils.py @@ -45,7 +45,11 @@ def find_media_path_by_imdb_and_title( if webhook_path and path_mapper: try: if hasattr(path_mapper, 'sonarr_path_to_container_path'): + # Force debug mode for path mapping + old_debug = getattr(path_mapper, 'path_debug', False) + path_mapper.path_debug = True container_path = path_mapper.sonarr_path_to_container_path(webhook_path) + path_mapper.path_debug = old_debug print(f"🔍 Sonarr path mapped: {webhook_path} → {container_path}") elif hasattr(path_mapper, 'radarr_path_to_container_path'): container_path = path_mapper.radarr_path_to_container_path(webhook_path)