feat: add NfoRepairService for missing NFO tag detection

This commit is contained in:
2026-02-22 11:09:48 +01:00
parent e1abf90c81
commit 3e5ad8a4a6
4 changed files with 326 additions and 0 deletions

View File

@@ -207,6 +207,8 @@ src/core/
| +-- nfo_models.py # Pydantic models for tvshow.nfo (TVShowNFO, ActorInfo…)
+-- services/ # Domain services
| +-- nfo_service.py # NFO lifecycle: create / update tvshow.nfo
| +-- nfo_repair_service.py # Detect & repair incomplete tvshow.nfo files
| | # (parse_nfo_tags, find_missing_tags, NfoRepairService)
| +-- tmdb_client.py # Async TMDB API client
+-- utils/ # Utility helpers (no side-effects)
| +-- nfo_generator.py # TVShowNFO → XML serialiser