nfo: improvments

This commit is contained in:
2025-10-26 15:54:01 -04:00
parent 0b9f450b1d
commit ed3d7e903c
4 changed files with 121 additions and 12 deletions
+6 -2
View File
@@ -1597,14 +1597,18 @@ async def get_episodes_missing_nfo_dateadded(dependencies: dict):
"total_episodes_checked": result.get('total_tv_files_checked', 0),
"total_movies_checked": result.get('total_movie_files_checked', 0),
"total_items_checked": result.get('total_tv_files_checked', 0) + result.get('total_movie_files_checked', 0),
"missing_dateadded_count": result['total_missing'],
"missing_dateadded_count": result['total_missing'], # Items that can be fixed
"total_nfo_files_missing": result.get('total_nfo_files_missing', result['total_missing']), # All NFO files missing dateadded
"tv_nfo_files_missing": result.get('tv_nfo_files_missing', 0),
"movie_nfo_files_missing": result.get('movie_nfo_files_missing', 0),
"items": all_missing[:50], # Limit display to first 50
"debug_info": {
"scan_method": "core_container_filesystem",
"core_container_response": "success",
"episodes_missing": result['episodes_missing'],
"movies_missing": result['movies_missing'],
"core_response_keys": list(result.keys())
"core_response_keys": list(result.keys()),
"statistics": result.get('statistics', {})
}
}
else: