Lukas
fb8f0bdbd2
Fix Issue 5: Create NFOServiceFactory for centralized initialization
- Created NFOServiceFactory in src/core/services/nfo_factory.py
- Enforces configuration precedence: explicit params > ENV > config.json
- Provides create() and create_optional() methods
- Singleton factory instance via get_nfo_factory()
- Updated 4 files to use factory (nfo.py, SeriesApp.py, series_manager_service.py, nfo_cli.py)
- Fixed test mocks: added ensure_folder_with_year(), corrected dependency test
- Tests: 17/18 NFO passing, 15/16 anime passing
- Resolves Code Duplication 2 (NFO initialization)
2026-01-24 21:52:54 +01:00
..
2025-10-12 23:06:29 +02:00
2026-01-24 21:52:54 +01:00
2025-10-23 22:03:15 +02:00
2025-12-26 12:49:23 +01:00
2025-10-22 09:20:35 +02:00
2025-10-12 23:33:56 +02:00
2026-01-24 21:39:31 +01:00
2025-10-22 09:20:35 +02:00
2025-10-22 15:22:58 +02:00
2025-11-28 16:00:15 +01:00
2025-10-12 23:06:29 +02:00
2026-01-24 19:38:53 +01:00