diff --git a/core/nfo_manager.py b/core/nfo_manager.py index 2d12c89..2c1ae6c 100644 --- a/core/nfo_manager.py +++ b/core/nfo_manager.py @@ -425,8 +425,8 @@ class NFOManager: print(f" 🔍 Debug: existing_long_nfo = {existing_long_nfo}") print(f" 🔍 Debug: nfo_path.exists() = {nfo_path.exists()}") - # Try to load existing NFO file (either standard or long-named) - source_nfo_path = nfo_path if nfo_path.exists() else existing_long_nfo + # Prioritize long-named file for migration, otherwise use standard file + source_nfo_path = existing_long_nfo if existing_long_nfo else nfo_path if nfo_path.exists() else None print(f" 🔍 Debug: source_nfo_path = {source_nfo_path}") if source_nfo_path: