Mark task 2 (NFO scan) as completed

This commit is contained in:
2026-01-21 19:25:48 +01:00
parent 9f1158b9af
commit 050db40af3

View File

@@ -124,13 +124,18 @@ make sure you maintain the function on one location
1. ✅ scanning anime from folder - COMPLETED
Implemented initial scan tracking using SystemSettings table. Anime folder scanning now only runs during initial setup, not on each application start.
- Added SystemSettings model with initial_scan_completed flag
- Created SystemSettingsService for managing setup state
- Modified fastapi_app.py to check scan completion status on startup
- Added unit test for SystemSettingsService
- Added SystemSettings model with initial_scan_completed flag
- Created SystemSettingsService for managing setup state
- Modified fastapi_app.py to check scan completion status on startup
- Added unit test for SystemSettingsService
2. Nfo scan
make sure nfo scan runs only on setup and not on each start
2. Nfo scan - COMPLETED
Implemented initial NFO scan tracking using SystemSettings table. NFO scanning now only runs during initial setup, not on each application start.
- Added NFO scanning to startup process in fastapi_app.py
- Check initial_nfo_scan_completed flag before running NFO scan
- Run NFO scan only on first startup if TMDB API key is configured and NFO features enabled
- Mark NFO scan as completed after successful first run
- Skip NFO scan on subsequent startups
3. nfo data
during nfo scan read tmdb id from nfo file and write it in db.