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
/
harvest
11 files
at
main
2000.nyc
·
A re-harvest of an unmoved library leaves the covers where they are
·
3w ago
b1c5dd34
db.test.ts
Navidrome is believed when it names itself, which is the first time the native fast path has ever run: the server was being judged by a version string it does not send. `subsonic-response.type` is the product name (`server/subsonic/helpers.go:31`, `consts/consts.go:12`) while `serverVersion` is a bare build stamp — `0.63.2 (be10f89c)` — carrying neither that name nor the leading `v` the sniff was written for, so every shipping Navidrome fell through to the portable crawl, with no symptom but a library that takes seconds to appear instead of a few requests' worth. `ping()` now returns the `type` the envelope was already carrying, the name decides where it exists and the version string is consulted only when the server stays anonymous, and a server that has said `subsonic` is believed rather than probed with a doomed `/auth/login`. The fake answered `v0.52.0`, which flattered the sniff and is how the suite kept the bug: it now answers exactly as 0.63.2 does, and three tests pin the difference.
2mo ago
db.ts
A looser question about a lyric is asked only by a length that can disbelieve it
1mo ago
index.test.ts
Point at a record with the keyboard, and play it from there.
2mo ago
index.ts
Point at a record with the keyboard, and play it from there.
2mo ago
label.test.ts
A count and its noun agree, wherever the count is printed
1mo ago
label.ts
A count and its noun agree, wherever the count is printed
1mo ago
native.test.ts
A count and its noun agree, wherever the count is printed
1mo ago
native.ts
A count and its noun agree, wherever the count is printed
1mo ago
store.test.ts
A re-harvest of an unmoved library leaves the covers where they are
3w ago
store.ts
A re-harvest of an unmoved library leaves the covers where they are
3w ago
types.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