mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
Rewrite artist queue membership as a UNION of indexed song-id branches instead of an OR that scanned every song, and recompute artist play data from an explicit credited-album set instead of scanning all albums per artist. Run PRAGMA optimize after syncing songs and before play aggregation, and derive downloaded artist lists and filters from downloads rather than all songs. Count downloaded albums per artist with artist-first branches. Extend the query timing harness with the artist playback, download and status queries plus a partial-download fixture.