Commit Graph
582 Commits
Author SHA1 Message Date
bvandeusenandClaude Opus 5.5 d5d9952cd7 feat: tapping a search result starts radio from that track, on web and Android (DRY A3)
Android played the visible search results as a queue; the web started
radio. Both now start radio seeded from the tapped track: the song plays
first, then songs like it. Android falls back to playing the track alone
when radio can't be had (offline, or an empty answer).

The web's two identical onTrackPlay handlers (search and search/tracks)
become one, radioFromRow. PlayerController gains playRadio, which
replaces the queue; the track menu's startRadio still keeps the current
song playing and queues radio after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 10:16:40 -05:00
bvandeusenandClaude Opus 5.5 ebb8e331a2 refactor(web): Admin's Overview and the Collection draw a waiting queue with one row (DRY W9)
release / web (push) Successful in 1m42s
release / go (push) Successful in 2m13s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m38s
release / android (push) Successful in 5m11s
release / Build signed APK (push) Successful in 5m29s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 27s
release / Verify release artifacts (tag releases only) (push) Skipped
The "what is waiting, how long, Open" row was written out four times: the
failed scan, each queue and each status problem on the Overview, and each
queue on the Collection. NeedsYouRow draws it once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:24:47 -05:00
bvandeusenandClaude Opus 5.5 6152dacac3 fix(web): the liked page test imports page() at the top level (DRY W10)
The import had landed inside a multi-line import from likes.js.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:24:20 -05:00
bvandeusenandClaude Opus 5.5 47423fb529 refactor(web): Library › Albums and › Artists are one A–Z page (DRY W8)
The two pages matched line for line apart from the noun, the filter field
and the sort key: the count, the quick filter, the lettered grid paged as
you scroll, the admin and listener empty states, and the "search the full
library" link when the filter matches nothing loaded. AlphaLibrary now
draws them once and each page supplies its query, noun, match, key and
card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:23:54 -05:00
bvandeusenandClaude Opus 5.5 abf30b1295 refactor(web): Admin, Settings and Collection share one rail layout (DRY W7)
The three areas each repeated the same title, left rail and content grid.
SectionLayout now draws it once, with the rail and any lines under the
title as snippets.

Admin pages now get the content cap Settings has (max-w-[100rem]): both lay
their groups out in SettingsColumns, and without it Admin's two columns
stretched across a very wide screen. The Collection keeps its uncapped
lists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:23:10 -05:00
bvandeusenandClaude Opus 5.5 f298c44ecd fix(web): the Fingerprinting card's Try again reloads it, and the settings cards type-check (DRY W3)
release / web (push) Failing after 16s
release / go (push) Successful in 1m54s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / govulncheck (push) Canceled after 18s
release / android (push) Canceled after 1m48s
release / integration (push) Canceled after 2m14s
The Fingerprinting card's load-failure line pointed Try again at a load()
that no longer exists, and canSave closing over a value derived from the
form left TypeScript unable to type the form itself. Try again calls
f.load, and canSave states that it returns a boolean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:22:39 -05:00
bvandeusenandClaude Opus 5.5 5f88fe941d test(web): the search and liked page tests take page() from the shared fixture (DRY W10)
Four test files defined the same Page<T> envelope helper; they now import
it from test-utils/fixtures/page.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:22:07 -05:00
bvandeusenandClaude Opus 5.5 c290667b8a refactor(web): genre and year albums page like every other list (DRY W6)
The genre and year drill-downs hand-rolled their own pager (a request token
to drop late answers, loading, failed and later-page-failed flags), on the
note that the codebase had no way to make a query from a changing URL. The
search pages have since done exactly that:
$derived(q ? createXInfiniteQuery(q) : null).

browse.ts gains createAlbumsByGenreInfiniteQuery and
createAlbumsByYearInfiniteQuery, keyed per selection so a late page for the
previous one never lands in the current list. Both pages draw their albums
through one AlbumDrillDown view (back link, count, grid, ListContinuation),
and the out-of-date note is gone. Tests drive the pages through
mockInfiniteQuery, as the search pages' do, with the page() fixture now in
test-utils.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:21:55 -05:00
bvandeusenandClaude Opus 5.5 7314101f91 refactor(web): every ⋮ menu shares one trigger and popover; album and artist menus are one (DRY W5)
release / web (push) Failing after 11s
release / go (push) Failing after 2m45s
release / govulncheck (push) Successful in 18s
release / integration (push) Failing after 4m51s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m12s
release / android (push) Canceled after 5m8s
The ⋮ trigger, its popover and the close-on-outside-click and Escape
handling were hand-rolled in AlbumMenu, ArtistMenu, TrackMenu, PlaylistCard
and RowActionsMenu. KebabMenu now draws them once; each menu supplies its
items and any popover it opens (Add to playlist, Report a problem).

AlbumMenu and ArtistMenu were the same menu apart from their entity and
"Go to artist"; both are now CollectionMenu with the entity filled in. Its
track cache is kept per entity id, so a menu reused for another row
fetches that row's tracks. Escape now also closes the playlist card's menu
and the mobile row menu with focus inside it. IconProp is exported once,
from TrackMenuItem (W10).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:17:17 -05:00
bvandeusenandClaude Opus 5.5 d99498be0b refactor(web): one password rule and one wording for account-form errors (DRY W4)
The 8-character minimum was written into sign-up, reset, Settings › Account
and Admin › Users as minlength="8" and a message, and each page mapped
password_too_short, username_invalid and username_taken to its own copy of
the same sentence. lib/auth/password.ts now holds the minimum, the hint and
"Passwords do not match.", and the pages take an error code's wording from
the shared error copy (knownCopy), falling back to their own.

username_invalid's shared copy now states the rule (3–32 characters:
letters, numbers, underscores, hyphens), as the pages did, on web and
Android alike. Account's mismatch line reads "Passwords do not match." like
the other forms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:14:50 -05:00
bvandeusenandClaude Opus 5.5 87c650aca1 refactor(web): the admin settings cards share one load-and-save cycle (DRY W3)
Five settings cards (Fingerprinting, Loudness, Public address, Proxies,
Notification email) each hand-rolled the same cycle: load into a stored copy
and an editable one, say when they differ, save, adopt what the server
stored, toast. lib/settings/settingsForm.svelte.ts now runs it once
(createSettingsForm), and SettingsLoadStatus draws the "Loading…" / "Couldn't
load … Try again" line for those five and for Library folders and AcoustID.

The Proxies card dropped the server's reason when a save was refused and
toasted a fixed "Couldn't save proxy depth."; it now says why, as the other
cards do. Two cards' "Loading <thing>…" lines now read "Loading…" like the
rest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:13:32 -05:00
bvandeusenandClaude Opus 5.5 dae46ea980 refactor(web): every cover thumbnail goes through Cover, so a failed load falls back (DRY W2)
Seven places drew their own cover image. The Missing, Suspect sources,
Hidden and Reports rows showed a Music2 icon only when the track had no
album; a cover that failed to load (not fetched yet, or gone) showed a
broken image. The queue row, play bar and Now Playing each set the
placeholder in their own onerror, and the playlist card's images had no
fallback at all.

Cover gains fallback="track" (the Music2 icon a track row uses), and all
seven go through it, so each one handles a missing src and a failed load
the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:09:15 -05:00
bvandeusenandClaude Opus 5.5 cceeaeb5c8 fix(web): Next is off at the end of the queue with repeat one, since it only stops there (DRY W1)
release / web (push) Successful in 1m38s
release / go (push) Successful in 1m57s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m19s
release / android (push) Successful in 4m53s
release / Build signed APK (push) Successful in 5m18s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 25s
release / Verify release artifacts (tag releases only) (push) Skipped
With repeat one on the last track, the play bar and Now Playing enabled
Next, but store.skipNext treats an explicit Next at the end the same for
repeat one as for repeat off: it pauses. The button now follows the store:
on when there is a track after this one or the queue wraps (repeat all).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:06:58 -05:00
bvandeusenandClaude Opus 5.5 14afd86b8e refactor(web): the play bar and Now Playing share one set of transport rules (DRY W1)
PlayerBar and the Now Playing page each carried their own copy of when
Previous and Next are enabled, the repeat label, the volume icon and the
range-input handlers, and the 3-second "restart rather than go back"
threshold was written in both and again in store.skipPrev.
lib/player/controls.ts now holds them once (canSkipPrev, canSkipNext,
repeatLabel, volumeIcon, inputNumber, RESTART_THRESHOLD_SEC), and the store
reads its threshold from there. Behaviour is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:06:36 -05:00
bvandeusenandClaude Opus 5.5 5939248bef fix(metrics): web and Android tag plays with one source vocabulary, so a surface reads the same on either (#8075)
The recommendation metrics judge each surface against a baseline of manual
plays. The web tagged only system mixes, so its radio, album, artist and
history plays all sat in the baseline; Android tagged nearly everything, and
its search, Liked-list, library-shuffle and artist-top plays fell to Other.
The surface deltas depended on which client someone listened on.

- The web sends the vocabulary Android uses: radio:<seed>, album:<id>,
  artist:<id>, artist-top:<id>, home:most_played and history, kept in
  web/src/lib/player/playSource.ts.
- The baseline is now named in one place (isManualSource): no source, a
  search pick, or a Liked-list pick.
- library_shuffle gets its own row, the random baseline the mixes exist to
  beat; artist-top counts as an artist play.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:08:37 -05:00
bvandeusenandClaude Opus 5.5 0c9faeca9f fix(web): a song on repeat is a play per listen, and a stall before play_started answers doesn't record it twice (#8071, #8072)
The events dispatcher keyed a play on the track id, so repeat-one, a
one-track queue on repeat-all, or the same song twice in a row stayed one
play, closed at the last loop's position and usually graded a skip. The
player store now counts listens (player.listen moves whenever playback
starts an item from its beginning) and the dispatcher keys a play on
(track, listen).

play_started's reply was adopted only while still 'playing', and nothing
marked a start in flight, so a stall or pause just after starting threw the
id away and the next 'playing' posted a second start, which closed the
first as a skip. The dispatcher now holds the pending listen and adopts the
reply whenever that listen is still current.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:06:08 -05:00
bvandeusenandClaude Opus 5.5 8ba1d109c3 fix(events): a like made in a Subsonic app reaches the other apps, and an open web tab follows likes and playlist changes (#8077)
The native like endpoints announce a like on the event bus; Subsonic star
and unstar announced nothing, so the web and Android apps showed a stale
heart until they refetched. Subsonic now publishes the same events, through
one shape both surfaces build (eventbus.LikeChanged, eventbus.LedBy).

The web listened only for the nightly rebuild and notifications, so an open
tab ignored likes and playlist changes made in another tab, on Android or
in a Subsonic app. It now refreshes its liked views on any like event and
its playlists (and the open one) on playlist.created/updated/deleted/
tracks_changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 00:02:12 -05:00
bvandeusenandClaude Opus 5.5 436a970f7b fix(backup): a restore says Subsonic apps are signed out, and restores ListenBrainz switched off (#8104)
The backup leaves out each person's Subsonic password and ListenBrainz
token, which are sealed under the stream secret, but no restore message
said so. The CLI and docs sent people to Admin for keys that live in each
person's own Settings, and the web said nothing. All three now say that
Subsonic apps are signed out and where to make a new Subsonic password and
save the ListenBrainz token.

listenbrainz_enabled travelled without the token, so a restored account
read as on but unable to send. It is now left out too and restores off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 23:53:37 -05:00
bvandeusenandClaude Opus 5.5 c6a9535cf7 fix(auth): a password reset signs out Subsonic apps too, and a change can (#8107)
A reset ended every session but left the API key and Subsonic password
working, and anyone signed in to the account can make either. So whoever had
the account kept it through a Subsonic app after the owner reset the
password. The forgotten-password reset and an admin's reset now replace the
API key with one nobody holds and clear the Subsonic password.

A self-service change keeps Subsonic apps signed in by default, since it
would sign out the owner's own apps too. The web and Android password forms
gain "Sign out Subsonic apps too", sent as sign_out_subsonic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 23:48:21 -05:00
bvandeusenandClaude Opus 5.5 0811775af6 fix(api): every /api error answers in one envelope, so Android shows the real reason (#8002)
Three error shapes were on the wire: {"error":{"code","message"}} from
writeErr, a flat {"error":"code"} from the admin queues, playback errors
and RequireAdmin, and plain text from RequireUser's 401s. Android reads
only the first, so an admin's quarantine, duplicate or suspect-file
error, and "you're not an admin", all showed "Something went wrong."

apierror.Write is now the one writer, and api.writeErr, RequireAdmin,
RequireUser, the client-APK endpoints, the events stream, the unknown-
route 404 and the admin scan all go through it. The flat writers are
gone, and the web client drops its second branch. The admin codes keep
their names; each now carries a message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 12:43:27 -05:00
bvandeusenandClaude Opus 5.5 3491cf4c58 feat(admin): switches for ListenBrainz similarity and MusicBrainz track lists
release / go (push) Successful in 1m50s
release / web (push) Successful in 1m15s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m11s
release / android (push) Successful in 4m33s
release / Build signed APK (push) Successful in 4m40s
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
Both lookups ran with no way to stop them. Admin › Metadata sources now
has an "Other lookups" group with a switch each, both on by default
(lookup_settings, migration 0111). Off, the similarity worker asks
ListenBrainz nothing and still links what it already fetched; the
duplicate resolver gets ErrLookupOff and decides from the track lists it
already has. The setting is backed up, and docs/security.md names the
switches. docs/security.md also says every account but the first needs an
invite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 08:59:25 -05:00
bvandeusenandClaude Opus 5.5 dd27e014c0 fix(auth): an invite is the only way to an account
The README offered open registration, and the register handler still had
a branch for a registration_settings mode nothing could set. Now every
account after the first needs an invite; the first still needs the setup
token from the log. Migration 0110 drops registration_settings and its
queries, and backups no longer carry it (an older backup that holds it
restores without it). The web form asks for the invite token as required.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 08:59:25 -05:00
bvandeusenandClaude Opus 5.5 987c2a68fa fix(web): a failed like reverts only itself
A like or unlike that failed restored the whole liked list from before it
started, undoing any like made while it was in flight. Now only its own id
goes back to how it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 22:02:00 -05:00
bvandeusenandClaude Opus 5.5 7f7e946bad feat: artist pictures in the web and Android apps
release / web (push) Successful in 1m59s
release / go (push) Successful in 2m23s
release / govulncheck (push) Successful in 22s
release / integration (push) Successful in 4m59s
release / android (push) Successful in 5m29s
release / Build signed APK (push) Successful in 6m26s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 31s
release / Verify release artifacts (tag releases only) (push) Skipped
Minstrel fetched artist pictures but showed them only to Subsonic apps.
GET /api/artists/{id}/image now serves the picture, or else the artist's
newest album cover, the same image Subsonic apps get. Artist listings
point at it when the artist has a picture and keep the album cover
otherwise; the artist page points at it whenever the artist has albums,
and the web artist page shows it beside the name.

Android shows the picture for cached artists that have one, and the
album cover for the rest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:32:55 -05:00
bvandeusenandClaude Opus 5.5 66861a2bc4 test: the case-and-spacing duplicate title matches its renamed pair
release / go (push) Successful in 2m6s
release / web (push) Successful in 1m11s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m17s
release / android (push) Successful in 4m58s
release / Build signed APK (push) Successful in 5m13s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 26s
release / Verify release artifacts (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 13:34:43 -05:00
bvandeusenandClaude Opus 5.5 4e1807cbba test: invented artists, albums and MusicBrainz ids in place of real ones
release / web (push) Failing after 1m16s
release / go (push) Successful in 1m48s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m0s
release / android (push) Successful in 4m34s
release / Build signed APK (push) Successful in 5m9s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
Test data and example comments named real artists, records and songs, and
carried real MusicBrainz ids. One mapping swaps them for invented ones
throughout (Fields of Ontario, Plastic Apes, Marlo Davies, ...), keeping
what each case tests: sort order, index letter, escaping, title keys,
artist-prefix stripping. A test username is no longer the operator's name.

The cover-art and Last.fm connection checks still query real releases;
they reach live services and need something that exists there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 13:21:34 -05:00
bvandeusenandClaude Opus 5.5 55a6f1e437 fix(web): opening an admin or Collection page directly no longer bounces an admin to Home
The two route gates read the signed-in user without waiting for the root
layout to load it. SvelteKit runs layout loads side by side, so a
refresh or a bookmark found no user yet and redirected to Home. Each gate
now awaits parent() before it judges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 10:05:58 -05:00
bvandeusenandClaude Opus 5.5 c4eaa33e24 fix(web): a Home row with one or two items no longer stretches them across the page
release / go (push) Successful in 1m50s
release / web (push) Successful in 1m14s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m9s
release / android (push) Successful in 4m13s
release / Build signed APK (push) Successful in 4m39s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 25s
release / Verify release artifacts (tag releases only) (push) Skipped
Home rows size their tiles to fill the window, and a row with fewer
items than fit split the whole width between them. One suggestion in
You might like became an album cover as wide as the page. Tiles now
grow to at most twice their minimum width; rows with enough items
still fill the window exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 10:01:35 -05:00
bvandeusenandClaude Opus 5.5 6dda9ef219 fix(web): the app opens over plain HTTP on a home network instead of showing a blank page
Browsers offer crypto.randomUUID only on HTTPS pages and localhost. The
player's client id called it at startup, so opening Minstrel at
http://<host>:4533, as the README's quick start says to, threw before
anything rendered. The id now falls back to crypto.getRandomValues,
which every page has.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 10:01:35 -05:00
bvandeusenandClaude Opus 5.5 ad75f3ac7e chore: comments and tests explain themselves, and the dev compose drops its healthcheck
release / go (push) Successful in 1m39s
release / web (push) Successful in 1m15s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m3s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m5s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 26s
release / Verify release artifacts (tag releases only) (push) Skipped
Test names, assertion messages and comments no longer cite internal
task or rule numbers; each says the reason itself. The dev compose
starts Minstrel after the database without a healthcheck to gate on,
since Minstrel waits for its database at startup on its own. The
published-names test is removed; that check is a local grep before
publishing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:58:58 -05:00
bvandeusenandClaude Opus 5.5 104f9fd141 feat: Your genres leads with the genres you play most, not A to Z
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 / Build + push container image (push) Successful in 22s
release / Verify release artifacts (tag releases only) (push) Skipped
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
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>
2026-11-24 18:10:08 -05:00
bvandeusenandClaude Opus 5.5 46d97e51f7 fix(web): a genre band's fan spans 80% of its width, leftmost cover on top
release / go (push) Successful in 1m59s
release / web (push) Successful in 1m26s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 4m22s
release / android (push) Successful in 4m28s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 4m43s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:15:12 -05:00
bvandeusenandClaude Opus 5.5 c4ac14d77a fix(web): genre fans grow with their band, and short shelves fill the row
release / go (push) Successful in 1m51s
release / web (push) Successful in 1m31s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m22s
release / android (push) Successful in 4m58s
release / Build signed APK (push) Successful in 5m6s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 27s
release / Verify release artifacts (tag releases only) (push) Skipped
A genre band's fan of covers is sized to the band's height (74% of it),
larger than before, and may run under the genre's name again; the name
sits on a dark translucent backing that keeps it readable over any cover.

A shelf with fewer items than fit across the page now splits the whole
width between them, so no shelf ends partway across.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 18:09:52 -05:00
bvandeusenandClaude Opus 5.5 ca70cf7678 test(web): a wide card's wash is its cover colour as washTone tones it
release / web (push) Successful in 1m45s
release / go (push) Successful in 2m10s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m23s
release / android (push) Successful in 4m58s
release / Build signed APK (push) Successful in 5m36s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 40s
release / Verify release artifacts (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:51:13 -05:00
bvandeusenandClaude Opus 5.5 b8aacc71e3 fix(web): import the shelf helpers the shelf tests use
release / go (push) Successful in 2m6s
release / web (push) Failing after 1m18s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m2s
release / android (push) Successful in 4m19s
release / Build signed APK (push) Successful in 5m5s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:29:39 -05:00
bvandeusenandClaude Opus 5.5 e311e434a8 fix(web): home shelves fill the window and their text stays readable on any cover
release / web (push) Failing after 11s
release / go (push) Successful in 1m52s
release / govulncheck (push) Successful in 23s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / integration (push) Canceled after 4m12s
release / android (push) Canceled after 4m3s
release / Build signed APK (push) Canceled after 2m3s
A wide card or genre band's wash keeps its cover's hue but caps its
lightness and saturation, so a pale or loud cover no longer washes the
card too light for its text; the faintest text on it is 80% parchment,
and a test checks 4.5:1 against the lightest wash allowed. A genre's
name keeps clear of its fan of covers.

Shelves size their tiles to the window: each shows a whole number of
tiles that fill its width, a short shelf grows its tiles up to a cap,
and the arrows page by whole tiles. On a very wide screen the page stops
at 140rem and centres.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:25:27 -05:00
bvandeusenandClaude Opus 5.5 16225f09f7 fix(web): shelf headings count through plural(), and the day-count test matches calendar days
release / go (push) Successful in 1m53s
release / web (push) Successful in 1m44s
release / govulncheck (push) Successful in 24s
release / integration (push) Successful in 5m6s
release / android (push) Successful in 5m21s
release / Build signed APK (push) Successful in 5m49s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 29s
release / Verify release artifacts (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:13:57 -05:00
bvandeusenandClaude Opus 5.5 5e7b8a7694 feat(web): home shelves you can tell apart at a glance
release / go (push) Successful in 1m46s
release / web (push) Failing after 1m8s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 4m12s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 1m38s
release / android (push) Canceled after 3m3s
Each home shelf now has its own shape. Main mixes and playlists are wide
cards: the lead album's cover on a wash of its own colour, with the name
and what the mix is built from beside it rather than over the art. Songs
like mixes are circles, the shape artists already have. Genre mixes are
short bands with a fan of three covers. Shelf sizes step down from the
main mixes.

Tiles show album covers in place of the four-cover collage, and no cover
repeats along a shelf while a tile still has an unused one. The size and
refresh time every mix on a shelf shares is said once, beside the shelf's
title. Library pages keep the square card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:09:02 -05:00
bvandeusenandClaude Opus 5.5 813c289bc0 fix(web): track menus open past a short list, and the player's flag box opens up
release / web (push) Successful in 1m24s
release / go (push) Successful in 1m48s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m55s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m2s
release / android (push) Canceled after 2m53s
TrackList no longer clips its rows, so a row's menu shows under a one-row
search result; the first and last rows round their own corners instead.
The flag box takes its menu's direction, so on the player bar it opens
above the bar instead of off the screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:01:40 -05:00
bvandeusenandClaude Opus 5.5 c5e5387977 chore: clear the request-era leftovers
release / integration (push) Canceled after 0s
release / web (push) Canceled after 0s
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 8s
A playback error can no longer be resolved as "requested": the server
refuses it, migration 106 takes it out of the CHECK (no row used it), and
the Reports history and types drop its label. The web and Android error
tables lose the copy for errors only the wanted list, follows, release-type
profiles, downloads and indexers sent, and comments stop naming Discover,
following and the requests page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:33:18 -05:00
bvandeusenandClaude Opus 5.5 f52eb1a6fa test(web): the Reports history names a full removal as the page now does
release / go (push) Successful in 1m59s
release / web (push) Successful in 1m33s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m34s
release / Build + push container image (push) Successful in 24s
release / Verify release artifacts (tag releases only) (push) Skipped
release / android (push) Successful in 4m51s
release / Build signed APK (push) Successful in 5m21s
release / Attach APK to the Release (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:51:58 -05:00
bvandeusenandClaude Opus 5.5 bcd9e422a5 feat(web): every Collection queue can remove the file and keep the track
release / web (push) Failing after 1m28s
release / go (push) Successful in 1m53s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 4m16s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m13s
release / android (push) Canceled after 2m59s
Reports offers "Remove the file" ahead of "Remove from library": the
bad file goes and the track waits in Needs a file, with its likes and
plays, for a good copy. Suspect sources gets "Remove this file", and the
Duplicates wrong-slot action and its route are named for what they do
(remove-files). Their toasts and copy name Needs a file.

Missing files becomes Needs a file in the rail, the Collection header and
the Overview counts. Each track says why it waits and who removed it, and
can be forgotten one at a time or by folder; the list exports as a CSV or
copies to the clipboard. The empty state says how a track gets there and
how it leaves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:47:36 -05:00
bvandeusenandClaude Opus 5.5 e5f11647ee test(web): the bell test reads the new-music body
release / web (push) Successful in 1m31s
release / go (push) Successful in 2m6s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m42s
release / android (push) Successful in 5m25s
release / Build signed APK (push) Successful in 6m19s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 36s
release / Verify release artifacts (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:35:43 -05:00
bvandeusenandClaude Opus 5.5 561c1d5eae feat: new-music notices come from the scanner; request notices and the original specs go
release / web (push) Failing after 1m29s
release / go (push) Successful in 1m55s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 4m22s
release / android (push) Successful in 4m57s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 4m23s
Request notifications (approved, declined, completed, pending) are removed
along with the request flow that produced them. A new_music kind takes the
"new music arrived" slot: when a scan or a watcher batch finishes, the
scanner claims every album not yet announced (albums.announced_at) and tells
every user about the ones that are new: an album with a track on disk and
no track older than itself. The first import into an empty library, and an
album formed only by retagging tracks already held, announce nothing. One
notice per scan, carrying up to 50 albums and the total; it is never
coalesced, so a notice already emailed can't quietly absorb later arrivals.
It feeds the daily summary email, grouped by artist. Defaults: inbox and
email on, phone off.

Migration 0103 deletes request-kind notification rows and prefs, swaps the
kind CHECKs to new_music, and adds albums.announced_at with every album
held marked announced, so the first scan after it announces nothing old.

Web and Android: labels, the Android "Requests" settings section becomes
"New music", the shade channel your_requests becomes new_music (the old one
is deleted at startup), and "/" opens Home in the app. TrackLabel moves to
the notifications package. docs/smart-music-{server,client}-spec.md are
deleted per the operator; an Android comment loses the word "exchanges".

Grimoire #7666, #7671.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:29:13 -05:00
bvandeusenandClaude Opus 5.5 797fb1f4b4 fix(web): take the patched SvelteKit and adapter-static
release / go (push) Successful in 1m44s
release / web (push) Successful in 1m18s
release / govulncheck (push) Successful in 20s
release / integration (push) Failing after 4m12s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 3m59s
release / Build signed APK (push) Canceled after 2m33s
npm audit now flags @sveltejs/kit 3.0.1 (high: GHSA-mw6w-2fmv-pvw3,
GHSA-m9j8-jcmv-hp69 and others) and @sveltejs/adapter-static 4.0.0
(moderate: GHSA-jf9x-2fg2-hx4w). The lockfile moves to kit 3.4.0 and
adapter-static 4.0.1, inside the ranges package.json already allows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:57:29 -05:00
bvandeusenandClaude Opus 5.5 55c7497ca7 feat: Minstrel stops acquiring music and drops Discover
release / go (push) Successful in 1m54s
release / web (push) Failing after 5s
release / integration (push) Failing after 3m44s
release / govulncheck (push) Successful in 20s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 19s
release / android (push) Canceled after 2m37s
Minstrel is now a viewer of the library it is pointed at. Finding,
downloading and filing music moves out of it.

Removed from the server:
- the request flow (requests, approval, auto-approve) and the wanted list,
  follows, release profiles and release blocks;
- searching indexers, the download clients, the importer, the album
  lifecycle and missing-file re-acquisition;
- the catalogue's discography, search and art (the MusicBrainz release and
  track-list cache stays, for the duplicate resolver);
- Discover: its suggestions of artists not in the library, snoozes, the
  candidate-artist tag enrichment and its tuning scope;
- writes to acquisition tables from moving the library folder and from
  merging duplicates, the want-list join on Suspect sources, the sealing of
  acquisition credentials, and the release-group lookup only
  re-acquisition used.

Settling a wrong-slot duplicate no longer sets the release aside: the
copies go and their slots show as missing until a good copy is in the
library.

Removed from the web: Admin > Acquisition and Requests, /requests,
/discover, Follow on the artist page, the auto-approve toggle, and the
Collection's wanted-list tabs. The Collection is now the library's health:
an overview, Reports, Duplicates, Suspect sources and Missing files. The
README and docs no longer describe getting music.

The tables stay for now; a later migration drops them. The request
notification kinds and the Android screens are still to go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:51:14 -05:00
bvandeusenandClaude Opus 5.5 dbaa8b7d57 feat: genre mixes — a daily playlist per genre you listen to, on a "Your genres" Home row (#6904)
release / Build signed APK (push) Successful in 4m34s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
release / web (push) Successful in 1m24s
release / govulncheck (push) Successful in 25s
release / go (push) Successful in 1m47s
release / integration (push) Failing after 4m38s
release / android (push) Successful in 4m3s
A new system playlist kind, genre_mix: up to 10 "{Genre} mix" playlists per
user, rebuilt daily with the other system mixes.

Which genres: library genres with at least 25 playable tracks across 3
artists, ranked in tiers — taste-profile genres first (matched
case-insensitively, so ID3 "Post-Punk" and folksonomy "post-punk" are one),
then genres the user has played or liked, then the rest of the library, which
only tops a short shelf up to 4. A genre whose artist set is a near
duplicate of one already picked (Jaccard >= 0.5) is skipped, so "Lo-Fi" and
"Lo-Fi Hip Hop" don't both appear but "Alternative Rock" survives "Rock". A
genre that can't fill 15 tracks gives way to the next.

Each mix is 50 tracks: 3 in 5 the user already knows (played through or
liked), the rest unheard in that genre, interleaved, with the usual
per-album/per-artist caps. Tracks skipped twice and more often than played
are left out. The order changes daily and holds within a day. Picks are
stamped taste / taste_unheard, and genre_mix plays count toward rotation and
the recommendation metrics.

Migration 0102 adds genre_mix to the playlists variant constraints.

Web and Android each get a "Your genres" row in name order, hidden until a
mix exists. Kinds with several playlists per user now play by playlist id
wherever the client used to test seed_artist_id (web card, detail page
self-heal), keyed on the server's refreshable flag; on Android genre_mix
joins songs_like_artist as not refreshable. The web detail page's
"mix was rebuilt" reload now finds a Songs-like or genre mix by name instead
of calling the by-kind shuffle, which those kinds don't have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 22:30:41 -05:00
bvandeusenandClaude Opus 5.5 68e1e47534 fix: a new server takes a backup after its first scan, and restarts to load the restored settings (#6786)
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / govulncheck (push) Successful in 16s
release / go (push) Failing after 49s
release / web (push) Successful in 1m9s
release / integration (push) Failing after 4m14s
release / android (push) Canceled after 4m38s
release / Build signed APK (push) Canceled after 4m38s
A one-off end-to-end run of the :dev image (scratch Postgres, generated
FLAC files, no outbound network) found that the web restore, done the way
docs/hosting.md describes, was refused with not_empty: a new server's
startup scan fills the library before anyone signs up, and Restore counted
tracks as occupied. The command-line restore passed the same run.

- Restore now asks only that the instance has no accounts. The library the
  first scan found is replaced by the backup's (every foreign key into
  artists/albums/tracks cascades or sets null), and the restore locks the
  library tables so a running scan waits rather than adding to them.
- Settings are read once at boot by about ten services, the library folders
  among them, so after a web restore the server ran on its defaults until
  restarted. The restore endpoint now answers, then asks the process to
  restart in place (syscall.Exec of the same binary, arguments and
  environment), which needs no container restart policy. The startup scan
  of the restarted server replaces the scan the endpoint used to start.
- The restore form says Minstrel is restarting; the docs say a scanned new
  server still takes a backup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 20:21:00 -05:00
bvandeusenandClaude Opus 5.5 a521326686 fix: the restore form's file picker isn't required, so the form submits once a file is chosen
release / govulncheck (push) Successful in 17s
release / web (push) Successful in 1m24s
release / go (push) Successful in 1m40s
release / android (push) Successful in 5m12s
release / integration (push) Successful in 5m24s
release / Build signed APK (push) Successful in 5m35s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 23s
release / Verify release artifacts (tag releases only) (push) Skipped
The Restore button already waits for a file. A required file input also kept
jsdom from submitting after a test picked one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:16:27 -05:00
bvandeusenandClaude Opus 5.5 29042e4eb2 feat: a new Minstrel restores a backup, from the web app or the command line, then rescans (#6775)
release / govulncheck (push) Successful in 29s
release / web (push) Failing after 1m21s
release / go (push) Successful in 1m39s
release / integration (push) Successful in 5m26s
release / android (push) Successful in 5m27s
release / Build signed APK (push) Successful in 5m44s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
A new server (no accounts, no library) offers "Restore a backup" beside
"Create account". The file goes up as the request body to
POST /api/auth/restore with the setup token from the log in X-Setup-Token,
since the backup's admins become this server's. It loads in one transaction,
then a library scan starts and finds each file at its path. The same load runs
offline as `minstrel restore FILE`, which migrates the schema first.

That path alone gets a 1 GiB, 15-minute body allowance instead of 4 MiB and
30s, and skips the JSON-only check for cookie writes: a stale cookie from the
old server would otherwise refuse the upload, and the custom header already
rules out a cross-site form.

The library sync answers 410 cursor_ahead to a cursor past the last one the
server has handed out, read from the change sequence, so an app synced with
the old server after the backup was made starts over instead of skipping the
ids the restored server reuses. Restore now leaves each sequence as having
issued the restored maximum, so that reading holds; a compacted log still
counts its handed-out cursors.

backup.Read keeps the underlying error in its chain, so an oversized upload
answers 413 rather than "not a backup". The hosting docs say how to put the
music back first and what is entered again afterwards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:10:06 -05:00