Repository navigation
Playlists in Syncphony, and the night's Wrapped (MAD-737, MAD-722) - #63
Merged
Merged
Conversation
…722)
Syncphony keeps its own playlists: songs keep the snapshot and link
they came from, so one playlist can mix everyone's services. A night
can be saved as one, shared with the room, and its songs queued again.
GET /rooms/{id}/recap makes a night's Wrapped: top adder, most hearted,
most skipped, longest streak, genre and decade mix, taste overlaps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Library tab keeps Syncphony playlists: save songs from search, the queue and history with the bookmark, reorder and share them with the room, and add them to your lane. A night saves as a playlist from its recap or its crowning. The night's Wrapped plays as a story from History or the crowning, and shares as an image card. The big screen plays it by itself after the crowning, ending on a QR code for the night's playlist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
MAD-737, reworked: instead of exporting a night to Navidrome or Spotify, Syncphony now has its own playlists, and a night saves as one.
MAD-722: the night's Wrapped.
GET /rooms/{id}/recapadds the top adder, most hearted, most skipped, longest no-skip streak, genre and decade mix (from the musicgraph cache only), taste overlaps, the night and its saved playlists.Design notes are in
docs/adr/0016-playlists-and-wrapped.md.How
internal/playlistsandinternal/recappackages, migration 00028, andfromPlaylistSongIdon queue adds (queue.TrackRef.Snapshot). The borrow check now lives in one place./libraryand/library/$playlistIdroutes, aSheetcomponent,components/playlists/*andcomponents/wrapped/*.Testing
go test ./...,golangci-lint: pass. New tests: the recap math, the night-song picking rules, and an HTTP test covering create, add, move, remove, share and unshare visibility, save night, queue from a playlist (includingcant_borrow), recap and delete. The room access and display ops spec tests cover the new endpoints.pnpm typecheck,pnpm lintandpnpm test(219 tests) pass. New tests for the playlist and wrapped helpers.🤖 Generated with Claude Code