library: store artist song counts for download badges

Add artists.songCount, recomputed after syncs that change albums or songs,
and derive the Artists tab status map from the download rows plus that count
instead of walking every song. The badge query is now proportional to
downloads rather than library size.
This commit is contained in:
austinried
2026-10-18 04:02:48 +00:00
parent ef0c34d973
commit ba77b31dc4
9 changed files with 1897 additions and 19 deletions
File diff suppressed because it is too large Load Diff