About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
hackermusic
2000.nyc
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
src/components/
LibraryPlayback.test.tsx
October 2026
A filter is a set, and the keys that walk a set walk the rows the reader left on
screen
screen
2000.nyc
·
1mo ago
8d9bfe98
Copied
Failed
Copy SHA
2000.nyc
8d9bfe98
Copied
Failed
Copy SHA
A filter is a set, and the keys that walk a set walk the rows the reader left on screen
1mo ago
Coming out of a search lands on the track being heard, not on row
0
0
2000.nyc
·
1mo ago
6f6b916b
Copied
Failed
Copy SHA
2000.nyc
6f6b916b
Copied
Failed
Copy SHA
Coming out of a search lands on the track being heard, not on row 0
1mo ago
Enter on a one-track filter leaves the track already playing
alone
alone
2000.nyc
·
1mo ago
a5df269a
Copied
Failed
Copy SHA
2000.nyc
a5df269a
Copied
Failed
Copy SHA
Enter on a one-track filter leaves the track already playing alone
1mo ago
The second `/` clears the needle, and the caret lands in an empty
field
field
2000.nyc
·
1mo ago
703176e1
Copied
Failed
Copy SHA
2000.nyc
703176e1
Copied
Failed
Copy SHA
The second `/` clears the needle, and the caret lands in an empty field
1mo ago
September 2026
The bar's art tile asked the *file* for a picture and the grid asked the *record*, so one album had a sleeve in one view and nothing in the other. Navidrome's `/api/song` reports artwork as a per-file boolean (`hasCoverArt`, `model/mediafile.go:50`) and marshals no album artwork at all (`EmbedArtPath` is `json:"-"`, `model/album.go:23`), which is how a record whose sleeve is a `cover.jpg` in its folder — or a picture embedded in some of its files and not others — ends up with tracks that report nothing while their own cell in the grid reports the sleeve: `grid.ts` has always asked `coverArt ?? albumId`, and `parseArtworkID` accepts a raw entity id and answers with that album's `CoverArtID` (`core/artwork/artwork.go:365-379`). The report was "Midnight Marauders shows no art in the player view while the grid clearly displays the album cover", and it was three bugs wearing one coat — the tile, the zoom and the accent, all reading `song.coverArt` alone, the accent least visible of the three and worst, because a bar that wears a record's sleeve while its colour comes from somewhere else is making two statements about one track. The question now has one answer, `trackCoverId` in `lib/library/cover.ts` — the file's own picture, else the record's id, else nothing — and the tile, the zoom and the accent all ask it, so a bar and a cell of one album cannot now disagree about whether that album has a sleeve. The record's id rather than a sibling track's, which is what Navidrome caches one picture under for the whole record and what the grid's cell already fetches, so the two views share one server entry and one browser entry instead of one per
track.
track.
2000.nyc
·
2mo ago
f20a7cf3
Copied
Failed
Copy SHA
2000.nyc
f20a7cf3
Copied
Failed
Copy SHA
The bar's art tile asked the *file* for a picture and the grid asked the *record*, so one album had a sleeve in one view and nothing in the other. Navidrome's `/api/song` reports artwork as a per-file boolean (`hasCoverArt`, `model/mediafile.go:50`) and marshals no album artwork at all (`EmbedArtPath` is `json:"-"`, `model/album.go:23`), which is how a record whose sleeve is a `cover.jpg` in its folder — or a picture embedded in some of its files and not others — ends up with tracks that report nothing while their own cell in the grid reports the sleeve: `grid.ts` has always asked `coverArt ?? albumId`, and `parseArtworkID` accepts a raw entity id and answers with that album's `CoverArtID` (`core/artwork/artwork.go:365-379`). The report was "Midnight Marauders shows no art in the player view while the grid clearly displays the album cover", and it was three bugs wearing one coat — the tile, the zoom and the accent, all reading `song.coverArt` alone, the accent least visible of the three and worst, because a bar that wears a record's sleeve while its colour comes from somewhere else is making two statements about one track. The question now has one answer, `trackCoverId` in `lib/library/cover.ts` — the file's own picture, else the record's id, else nothing — and the tile, the zoom and the accent all ask it, so a bar and a cell of one album cannot now disagree about whether that album has a sleeve. The record's id rather than a sibling track's, which is what Navidrome caches one picture under for the whole record and what the grid's cell already fetches, so the two views share one server entry and one browser entry instead of one per track.
2mo ago
The warmer's bytes now have a home worth pointing at: the warm cache became an LRU of sixty-four tracks — count beside the byte budget, so the queue of two-minute songs cannot hold two hundred entries no eviction would reach — and a decode touches its entry rather than taking it, which is what makes the eviction least-recently-used and not merely first: the track the decoded map just gave back on is the last one the warm cache should let go of. The row wears all of it as its own background, painted the accent from the left as the body arrives and worn full while the bytes sit in memory — one determinate bar at row scale, not a hairline, and no crawl anywhere: a bar that pulses says trust me where this one says how many of the bytes are actually here. Getting that number to the row is the fetch progress both the load and the warmer now publish per chunk — content-length for the denominator, arrived bytes for the numerator — with the store holding the in-flight map and a membership counter that lets plain-map changes wake exactly the readers that asked about them. Cached and loading are one element, cached being simply the finished download at full width: branching on the state inside Show's children would have read the signals in an untracked scope, which is the first thing the diagnostics caught, and drawing one bar for both states is the honest visual anyway.
2000.nyc
·
2mo ago
77718b3a
Copied
Failed
Copy SHA
2000.nyc
77718b3a
Copied
Failed
Copy SHA
The warmer's bytes now have a home worth pointing at: the warm cache became an LRU of sixty-four tracks — count beside the byte budget, so the queue of two-minute songs cannot hold two hundred entries no eviction would reach — and a decode touches its entry rather than taking it, which is what makes the eviction least-recently-used and not merely first: the track the decoded map just gave back on is the last one the warm cache should let go of. The row wears all of it as its own background, painted the accent from the left as the body arrives and worn full while the bytes sit in memory — one determinate bar at row scale, not a hairline, and no crawl anywhere: a bar that pulses says trust me where this one says how many of the bytes are actually here. Getting that number to the row is the fetch progress both the load and the warmer now publish per chunk — content-length for the denominator, arrived bytes for the numerator — with the store holding the in-flight map and a membership counter that lets plain-map changes wake exactly the readers that asked about them. Cached and loading are one element, cached being simply the finished download at full width: branching on the state inside Show's children would have read the signals in an untracked scope, which is the first thing the diagnostics caught, and drawing one bar for both states is the honest visual anyway.
2mo ago
`shared ·https://…` had lost the space between the sentence and the link — the note ended at the middot and the URL began in its own span, and the gap between two inline boxes is a layout fact rather than a character until it is also the thing you read out loud; it is one `ch` of margin now, which is a space in the font the line is set in and is not inside the span the user
selects.
selects.
2000.nyc
·
2mo ago
939320a8
Copied
Failed
Copy SHA
2000.nyc
939320a8
Copied
Failed
Copy SHA
`shared ·https://…` had lost the space between the sentence and the link — the note ended at the middot and the URL began in its own span, and the gap between two inline boxes is a layout fact rather than a character until it is also the thing you read out loud; it is one `ch` of margin now, which is a space in the font the line is set in and is not inside the span the user selects.
2mo ago
The share succeeded and the copy did not, and the app could not say which of the clipboard's three refusals it had been given, because the write was issued after `createShare` had been awaited. A clipboard write is allowed only while the browser still counts the keypress as a user gesture — seconds in Chrome, about one in Safari — and the request that produces the text being written is a round trip to a server that may be on the other side of a tailnet, so the activation was spent waiting and the refusal arrived with its reason filed in a catch block that returned false. So the two are now asked for together and `ClipboardItem` unties the knot: its entry value may be a promise, which lets the write be *issued* inside the keypress with the URL still in flight, and the browser resolves the content when the answer lands. Browsers that will not hold a promised entry open fall back to the old order and are no worse
off.
off.
2000.nyc
·
2mo ago
08995e29
Copied
Failed
Copy SHA
2000.nyc
08995e29
Copied
Failed
Copy SHA
The share succeeded and the copy did not, and the app could not say which of the clipboard's three refusals it had been given, because the write was issued after `createShare` had been awaited. A clipboard write is allowed only while the browser still counts the keypress as a user gesture — seconds in Chrome, about one in Safari — and the request that produces the text being written is a round trip to a server that may be on the other side of a tailnet, so the activation was spent waiting and the refusal arrived with its reason filed in a catch block that returned false. So the two are now asked for together and `ClipboardItem` unties the knot: its entry value may be a promise, which lets the write be *issued* inside the keypress with the URL still in flight, and the browser resolves the content when the answer lands. Browsers that will not hold a promised entry open fall back to the old order and are no worse off.
2mo ago
`Enter` in the query box accepted a filter and then left the reader to go and find the row it had just narrowed to, which is two presses where the search had already said what it meant. A filter that leaves exactly one track is an answer rather than a shortlist, so that press plays it — through playFrom, the path a click takes, so the queue, the cursor and the playing mark are the ones a click would have left and there is no second definition of "play this" to keep in step. Any other count still plays nothing (`/` asked to narrow the list, not to start music) but takes up the cursor on the top row, because a keyboard handed back with nothing picked is a keyboard whose `k` wraps to the bottom of the list and whose `Enter` does nothing at all; a pick the reader made themselves outranks ours, and the scroll is a keepInView ask rather than a jump, since the row is where the list already ran to.
2000.nyc
·
2mo ago
fbeb8b88
Copied
Failed
Copy SHA
2000.nyc
fbeb8b88
Copied
Failed
Copy SHA
`Enter` in the query box accepted a filter and then left the reader to go and find the row it had just narrowed to, which is two presses where the search had already said what it meant. A filter that leaves exactly one track is an answer rather than a shortlist, so that press plays it — through playFrom, the path a click takes, so the queue, the cursor and the playing mark are the ones a click would have left and there is no second definition of "play this" to keep in step. Any other count still plays nothing (`/` asked to narrow the list, not to start music) but takes up the cursor on the top row, because a keyboard handed back with nothing picked is a keyboard whose `k` wraps to the bottom of the list and whose `Enter` does nothing at all; a pick the reader made themselves outranks ours, and the scroll is a keepInView ask rather than a jump, since the row is where the list already ran to.
2mo ago
Shift+n and Shift+p cross a whole record at a time: fourteen presses of `n` are not a way of leaving an album, and the app already treats the record as one thing — `Enter` on its header plays it from the front and `Alt+r` queues it whole — so leaving it wants one key too. Both directions arrive at the first track of the record they reach, because that is where a record is listened to; backward goes to the previous album's front rather than its last track for the same reason, and the album is measured from the queue by the very key group-repeat already uses (albumId, then the name the index calls it by, then ""), one function answering both because two answers would be two ideas of where a record ends and the gapless path pre-arms on that boundary. A filtered queue therefore skips the album on screen rather than the unfiltered record behind it. Repeat overrules neither press: repeat is what the clock does when a track ends, and this is the most deliberate key in the app. The edges are `p`'s own — the top of a queue rewinds instead of wrapping, which is a mode and has one — and past the last record the queue runs out the way `n` runs it out, in a single press.
2000.nyc
·
2mo ago
99038886
Copied
Failed
Copy SHA
2000.nyc
99038886
Copied
Failed
Copy SHA
Shift+n and Shift+p cross a whole record at a time: fourteen presses of `n` are not a way of leaving an album, and the app already treats the record as one thing — `Enter` on its header plays it from the front and `Alt+r` queues it whole — so leaving it wants one key too. Both directions arrive at the first track of the record they reach, because that is where a record is listened to; backward goes to the previous album's front rather than its last track for the same reason, and the album is measured from the queue by the very key group-repeat already uses (albumId, then the name the index calls it by, then ""), one function answering both because two answers would be two ideas of where a record ends and the gapless path pre-arms on that boundary. A filtered queue therefore skips the album on screen rather than the unfiltered record behind it. Repeat overrules neither press: repeat is what the clock does when a track ends, and this is the most deliberate key in the app. The edges are `p`'s own — the top of a queue rewinds instead of wrapping, which is a mode and has one — and past the last record the queue runs out the way `n` runs it out, in a single press.
2mo ago
Point at a record with the keyboard, and play it from
there.
there.
2000.nyc
·
2mo ago
d8bba71c
Copied
Failed
Copy SHA
2000.nyc
d8bba71c
Copied
Failed
Copy SHA
Point at a record with the keyboard, and play it from there.
2mo ago
Share links on 's': one track, one day, straight to the clipboard. Fixes the Subsonic client discarding server error messages (the spec and Navidrome spell the body 'error', not 'err')
2000.nyc
·
2mo ago
54fae3ce
Copied
Failed
Copy SHA
2000.nyc
54fae3ce
Copied
Failed
Copy SHA
Share links on 's': one track, one day, straight to the clipboard. Fixes the Subsonic client discarding server error messages (the spec and Navidrome spell the body 'error', not 'err')
2mo ago
List cursor: j/k/arrows walk the tracks, Enter plays where it stands, n/p drive the transport. The cursor is the reader's, the playing marker the player's; the list scrolls only when the cursor leaves the screen. VirtualList's window memo now closes its equality gate
2000.nyc
·
2mo ago
7f9461bd
Copied
Failed
Copy SHA
2000.nyc
7f9461bd
Copied
Failed
Copy SHA
List cursor: j/k/arrows walk the tracks, Enter plays where it stands, n/p drive the transport. The cursor is the reader's, the playing marker the player's; the list scrolls only when the cursor leaves the screen. VirtualList's window memo now closes its equality gate
2mo ago
Gapless boundaries: prefetch the next track, arm its source on the audio clock, adopt it at the seam. Bar is two rows — cover with its caption, meta and transport on top, the progress hairline stretching the width beneath with a clock at each end; caret thumbs, fill to the cursor; the bar takes clicks but no focus; a click no longer moves the list
2000.nyc
·
2mo ago
73948b14
Copied
Failed
Copy SHA
2000.nyc
73948b14
Copied
Failed
Copy SHA
Gapless boundaries: prefetch the next track, arm its source on the audio clock, adopt it at the seam. Bar is two rows — cover with its caption, meta and transport on top, the progress hairline stretching the width beneath with a clock at each end; caret thumbs, fill to the cursor; the bar takes clicks but no focus; a click no longer moves the list
2mo ago
Logarithmic volume; quality chips beside the title, centered on its glyphs
2000.nyc
·
2mo ago
a83ff868
Copied
Failed
Copy SHA
2000.nyc
a83ff868
Copied
Failed
Copy SHA
Logarithmic volume; quality chips beside the title, centered on its glyphs
2mo ago