fix: nfo logic long vs shortname
This commit is contained in:
+2
-2
@@ -425,8 +425,8 @@ class NFOManager:
|
|||||||
print(f" 🔍 Debug: existing_long_nfo = {existing_long_nfo}")
|
print(f" 🔍 Debug: existing_long_nfo = {existing_long_nfo}")
|
||||||
print(f" 🔍 Debug: nfo_path.exists() = {nfo_path.exists()}")
|
print(f" 🔍 Debug: nfo_path.exists() = {nfo_path.exists()}")
|
||||||
|
|
||||||
# Try to load existing NFO file (either standard or long-named)
|
# Prioritize long-named file for migration, otherwise use standard file
|
||||||
source_nfo_path = nfo_path if nfo_path.exists() else existing_long_nfo
|
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}")
|
print(f" 🔍 Debug: source_nfo_path = {source_nfo_path}")
|
||||||
|
|
||||||
if source_nfo_path:
|
if source_nfo_path:
|
||||||
|
|||||||
Reference in New Issue
Block a user