From 3e5c80279f40502a6415128e9d1eaeab9289da7b Mon Sep 17 00:00:00 2001 From: SBCrumb Date: Mon, 22 Sep 2025 11:02:12 -0400 Subject: [PATCH] fix: nfo logic long vs shortname --- core/nfo_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: