Files
SpotiFLAC-Mobile/lib/models
zarzet 85c3159e60 feat(library): read the Library's genres in one grouped query
Browsing by genre needs each genre's song count and a cover without
loading the whole Library on the UI isolate. One query groups both
sources by sort_genre (the trimmed, case-folded tag) and the stored
spelling; Dart then merges spellings under the most common one.

The Songs query gains a genre filter, so a genre's songs come from
the same paged, shadow-aware read as the Songs list and use the
existing sort_genre indexes.
2026-11-16 17:09:18 +07:00
..