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
hackermusic
/
src
/
lib
/
library
17 files
at
main
2000.nyc
·
The gallery stops queueing thumbnails for the albums it flew past
·
3w ago
c27e7516
cover.test.ts
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
cover.ts
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
covers.test.ts
The gallery stops queueing thumbnails for the albums it flew past
3w ago
covers.ts
The gallery stops queueing thumbnails for the albums it flew past
3w ago
grid.test.ts
A re-harvest of an unmoved library leaves the covers where they are
3w ago
grid.ts
A re-harvest of an unmoved library leaves the covers where they are
3w ago
gridtrace.test.tsx
A gallery that refreshes itself names the scope that asked for it
3w ago
gridtrace.ts
The gallery stops queueing thumbnails for the albums it flew past
3w ago
normalize.test.ts
Logarithmic volume; quality chips beside the title, centered on its glyphs
2mo ago
normalize.ts
Logarithmic volume; quality chips beside the title, centered on its glyphs
2mo ago
query.ts
The query field left the toolbar and grew a second verb: `/` narrows the list, `:` addresses the player
2mo ago
rows.test.ts
The heart follows the ear: `f` favorites the track you can hear, and an artist wears nothing.
2mo ago
rows.ts
The heart follows the ear: `f` favorites the track you can hear, and an artist wears nothing.
2mo ago
search.test.ts
Tag clauses take a slash, not a colon: artist/queen, year/1975. The colon was content in the very metadata being searched — Blade Runner: The Final Cut is a needle a colon separator would have re-read as a clause — while a word before a slash only becomes a tag if it is one, so ac/dc stays the search it looks like. Half-typed clauses keep passing the library through by reference, an unparseable year/ still falls back to text, and the grammar's only accepted collision is a value that really does begin genre/..., which is arguably what typing that into a filter box meant.
2mo ago
search.ts
Tag clauses take a slash, not a colon: artist/queen, year/1975. The colon was content in the very metadata being searched — Blade Runner: The Final Cut is a needle a colon separator would have re-read as a clause — while a word before a slash only becomes a tag if it is one, so ac/dc stays the search it looks like. Half-typed clauses keep passing the library through by reference, an unparseable year/ still falls back to text, and the grammar's only accepted collision is a value that really does begin genre/..., which is arguably what typing that into a filter box meant.
2mo ago
tags.test.ts
Tag clauses take a slash, not a colon: artist/queen, year/1975. The colon was content in the very metadata being searched — Blade Runner: The Final Cut is a needle a colon separator would have re-read as a clause — while a word before a slash only becomes a tag if it is one, so ac/dc stays the search it looks like. Half-typed clauses keep passing the library through by reference, an unparseable year/ still falls back to text, and the grammar's only accepted collision is a value that really does begin genre/..., which is arguably what typing that into a filter box meant.
2mo ago
tags.ts
Tag clauses take a slash, not a colon: artist/queen, year/1975. The colon was content in the very metadata being searched — Blade Runner: The Final Cut is a needle a colon separator would have re-read as a clause — while a word before a slash only becomes a tag if it is one, so ac/dc stays the search it looks like. Half-typed clauses keep passing the library through by reference, an unparseable year/ still falls back to text, and the grammar's only accepted collision is a value that really does begin genre/..., which is arguably what typing that into a filter box meant.
2mo ago