feat(scheduler): add folder_scan_enabled toggle to SchedulerConfig

- Add folder_scan_enabled boolean field (default false) to SchedulerConfig
- Update data/config.json example with new field
- Add checkbox to setup.html and include in JS payload
- Handle field in auth.py setup endpoint
- Expose field in scheduler API response
- Log and return field in scheduler_service.py
- Update docs/CONFIGURATION.md and docs/ARCHITECTURE.md
- Update index.html UI, app.js and scheduler-config.js handlers
- Verified backward compatibility: old configs load with default False
This commit is contained in:
2026-05-11 21:02:05 +02:00
parent 079f1f99e3
commit c39ae9d0fc
12 changed files with 197 additions and 140 deletions

View File

@@ -290,6 +290,9 @@ The FastAPI lifespan function (`src/server/fastapi_app.py`) runs the following s
8. Background loader service started
9. Scheduler service started
+-- Cron-based library rescans configured
+-- Optional: auto-download missing episodes after rescan
+-- Optional: folder maintenance (NFO repair, renaming, poster checks) during scheduled runs
10. NFO repair scan (queue incomplete tvshow.nfo files for background reload)
```