Files
Aniworld/tests/unit
Lukas e6d9f9f342 feat: add English fallback for empty German TMDB overview in NFO creation
When TMDB returns an empty German (de-DE) overview for anime (e.g.
Basilisk), the NFO plot tag was missing. Now both create and update
paths call _enrich_details_with_fallback() which fetches the English
(en-US) overview as a fallback.

Additionally, the <plot> XML element is always written (even when
empty) via the always_write parameter on _add_element(), ensuring
consistent NFO structure regardless of creation path.

Changes:
- nfo_service.py: add _enrich_details_with_fallback() method, call it
  in create_tvshow_nfo and update_tvshow_nfo
- nfo_generator.py: add always_write param to _add_element(), use it
  for <plot> tag
- test_nfo_service.py: add TestEnrichDetailsWithFallback with 4 tests
2026-02-26 20:48:47 +01:00
..
2025-12-04 19:22:42 +01:00
2025-12-10 21:12:34 +01:00
2025-12-04 19:22:42 +01:00
2025-10-23 19:00:49 +02:00
2025-10-22 09:20:35 +02:00
2025-11-19 21:20:22 +01:00
2025-10-22 09:20:35 +02:00