fix: nfo logic long vs shortname

This commit is contained in:
2025-09-22 11:02:12 -04:00
parent de3896b8c3
commit 3e5c80279f
+2 -2
View File
@@ -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: