fix: nfo cache
Local Docker Build (Dev) / build-dev (push) Successful in 4s

This commit is contained in:
2025-10-15 21:13:51 -04:00
parent 857d423ae4
commit d17f924192
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
2.2.16 2.2.17
+7
View File
@@ -163,6 +163,13 @@ class TVProcessor:
dateadded = nfo_data.get('dateadded') dateadded = nfo_data.get('dateadded')
source = nfo_data.get('source', 'nfo_cache') source = nfo_data.get('source', 'nfo_cache')
_log("DEBUG", f"S{season:02d}E{episode:02d}: NFO data found - aired={aired}, dateadded={dateadded}, source={source}")
# Skip incomplete NFO files with "unknown" source or no useful dates
if source == "unknown" and not dateadded and not aired:
_log("INFO", f"S{season:02d}E{episode:02d}: Ignoring incomplete NFO file with source 'unknown' and no dates")
continue # Skip this NFO file, try other episode files or proceed to API lookup
# Apply fallback logic if NFO has aired but no dateadded # Apply fallback logic if NFO has aired but no dateadded
if not dateadded and aired: if not dateadded and aired:
dateadded = aired dateadded = aired