soulsync/webui/static
Broque Thomas 1c34967fd3 Raise Spotify API interval; pause enrichments
Increase Spotify client rate limit and reduce API contention during watchlist scans. Changes:

- core/spotify_client.py: Bumped MIN_API_INTERVAL from 0.2s to 0.35s (~171 calls/min) to stay safely under Spotify's ~180/min limit.
- web_server.py: In start_watchlist_scan and automatic scan flow, pause spotify_enrichment_worker and itunes_enrichment_worker before scanning (tracking with _enrichment_was_running/_itunes_enrichment_was_running) and resume them in finally blocks; added console prints for pause/resume. This prevents enrichment workers from contending for API quota during long scans.
- webui/static/script.js: Improved enrichment status tooltip logic to prioritize explicit currentType and then fall back to completion-based inference with explicit branches for artists, albums, and tracks for clearer progress text.

These changes aim to avoid API rate violations and make scan progress display more predictable.
2026-02-23 21:22:27 -08:00
..
favicon.png enlarge favicon 2026-02-13 16:11:32 -08:00
hydrabase.png Add Hydrabase dev UI and WebSocket support 2026-02-21 00:32:04 -08:00
mobile.css Add track selection UI and backend mapping 2026-02-23 15:54:58 -08:00
script.js Raise Spotify API interval; pause enrichments 2026-02-23 21:22:27 -08:00
style.css Add Retag tool (DB, backend, frontend) 2026-02-23 20:39:04 -08:00
whisoul.png Add library repair worker and UI 2026-02-21 15:00:23 -08:00