missing path

This commit is contained in:
2025-09-14 14:21:09 -04:00
parent f5ae8c7768
commit 1a562f7b41
3 changed files with 43 additions and 51 deletions
+4 -4
View File
@@ -12,10 +12,10 @@ class PathMapper:
def __init__(self, config):
"""Initialize path mapper with configuration"""
self.radarr_roots = [path.strip() for path in config.radarr_root_folders.split(',') if path.strip()]
self.sonarr_roots = [path.strip() for path in config.sonarr_root_folders.split(',') if path.strip()]
self.movie_paths = [path.strip() for path in config.movie_paths.split(',') if path.strip()]
self.tv_paths = [path.strip() for path in config.tv_paths.split(',') if path.strip()]
self.radarr_roots = [path.strip() for path in config.RADARR_ROOT_FOLDERS.split(',') if path.strip()]
self.sonarr_roots = [path.strip() for path in config.SONARR_ROOT_FOLDERS.split(',') if path.strip()]
self.movie_paths = [path.strip() for path in config.MOVIE_PATHS.split(',') if path.strip()]
self.tv_paths = [path.strip() for path in config.TV_PATHS.split(',') if path.strip()]
# Check if path debugging is enabled
self.path_debug = os.getenv('PATH_DEBUG', 'false').lower() == 'true'