release / web (push) Successful in 1m8s
release / go (push) Successful in 1m40s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 3m43s
release / android (push) Successful in 4m21s
release / Build signed APK (push) Successful in 4m55s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 22s
release / Verify release artifacts (tag releases only) (push) Skipped
The genre mix builder already ranks genres by how much you listen to them (taste profile, then plays and likes, then library size), but the rank was lost when the mixes were stored and both apps sorted the shelf by name. Each playlist now has a shelf_rank (migration 0107), which the genre builder fills 1..n in that listening order, even where it picked a narrower genre before a broader one. The list and detail endpoints carry it, and the web and Android Home sort the genre shelf by it, unranked playlists after by name. Android's playlist cache gains the column (Room v14). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
382 B
SQL
7 lines
382 B
SQL
-- Where a system mix sits on its Home shelf, 1 first. The genre mix builder
|
|
-- numbers its mixes by how much the user listens to each genre, so the
|
|
-- "Your genres" shelf leads with their main genres rather than reading
|
|
-- A to Z. 0 means unranked: every other playlist, which clients order their
|
|
-- own way.
|
|
ALTER TABLE playlists ADD COLUMN shelf_rank integer NOT NULL DEFAULT 0;
|