Files
romm/backend/endpoints
Claude fb6f6affad fix(scan): make scan tracker totals reflect platforms actually scanned
The scan tracker computed total_platforms and total_roms over every
filesystem platform, ignoring both the selected platforms and the scan
type. For a "new platforms" scan, existing platforms are skipped inside
_identify_platform, so their ROMs never count toward scanned_roms, yet
they were all included in total_roms. This made the tracker wildly
overcount (the whole library instead of just the new platform).

Resolve the platform list before computing totals and, for NEW_PLATFORMS
scans, exclude platforms that already exist in the database so the totals
match what is actually processed.

Fixes #3599

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0158RJnc7MmAbwRz6Qiyrj5a
2026-06-25 22:53:46 +00:00
..
2026-03-08 14:51:28 -04:00
2026-03-15 11:25:39 -04:00
2026-04-05 22:35:37 -04:00
2026-06-21 17:42:25 -04:00
2026-01-18 23:35:03 -05:00
2025-12-07 16:34:22 -05:00
2026-04-01 19:27:34 -04:00