debug: Force path mapper debug logging to diagnose webhook path mapping failure
Local Docker Build (Dev) / build-dev (push) Successful in 4s

- Enable path_debug temporarily during webhook path mapping
- Version 2.0.28 to track path mapping diagnostics
- Should show Sonarr root folder matching and TV path mapping logic
This commit is contained in:
2025-10-12 11:06:02 -04:00
parent 1a98c406a2
commit baa6474d12
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
2.0.27
2.0.28
+4
View File
@@ -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)