mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Priming the account, the quota lines and the end-of-scan skip list are ScreenScraper's own bookkeeping, so they move out of the scan socket and behind begin_scan(), log_quota() and log_scan_summary(). The scan keeps only the decision it owns: whether this scan uses ScreenScraper at all. The quota-line bookkeeping joins the skipped ROMs in a _ScanState instance, so the tracking that resets together lives together and needs no global statement. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>