fix: add debug for .nfo ussues
This commit is contained in:
@@ -422,9 +422,12 @@ class NFOManager:
|
|||||||
try:
|
try:
|
||||||
# First, check for existing long-named NFO files that need migration
|
# First, check for existing long-named NFO files that need migration
|
||||||
existing_long_nfo = self.find_existing_episode_nfo(season_dir, season_num, episode_num)
|
existing_long_nfo = self.find_existing_episode_nfo(season_dir, season_num, episode_num)
|
||||||
|
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)
|
# Try to load existing NFO file (either standard or long-named)
|
||||||
source_nfo_path = nfo_path if nfo_path.exists() else existing_long_nfo
|
source_nfo_path = nfo_path if nfo_path.exists() else existing_long_nfo
|
||||||
|
print(f" 🔍 Debug: source_nfo_path = {source_nfo_path}")
|
||||||
|
|
||||||
if source_nfo_path:
|
if source_nfo_path:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user