mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-05 17:58:37 +01:00
Get wraps an eligible original-size serve (album/artist/playlist) in a teeCachedStream so the bytes streamed to the client are also captured; on a fully-consumed Close the runner hashes exactly what was served. GetOrPlaceholder routes a vanished album/artist cover through EnqueueClearIfGone, since no bytes flow through the tee on ErrUnavailable. capAtNow keeps a future mtime out of the stored version. The mtime-preserved cover-swap characterization test (previously pending) now passes, and the disappearing-cover e2e serves through GetOrPlaceholder to match the real Jellyfin/Subsonic path. |
||
|---|---|---|
| .. | ||
| testdata | ||
| album_test.go | ||
| artist_test.go | ||
| blurhash_test.go | ||
| disc_test.go | ||
| helpers_test.go | ||
| mediafile_test.go | ||
| playlist_test.go | ||
| radio_test.go | ||
| suite_test.go | ||