mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-11 20:07:11 +02:00
Relocate the image-upload service from core to core/artwork as artwork.Uploader, co-locating it with the resolver/worker/serving that own the artwork state it invalidates. MaxImageUploadSize moves too — its only callers are the two image-upload handlers — which lets core/image_upload.go be deleted entirely. Extract the shared "clear resolved state + re-queue at Bump" invalidation into artwork.Refresh and fold nativeapi's refreshArtwork handler onto it, removing the duplicated DeleteForItem+Enqueue block that had drifted into three places. The wire provider moves from core's set to artwork's; the playlists.ImageUploadService binding moves to the top-level injector so core/artwork stays unaware of playlists. Behavior is unchanged. |
||
|---|---|---|
| .. | ||
| annotations_test.go | ||
| audiomuse_test.go | ||
| auth_test.go | ||
| browsing_test.go | ||
| e2e_suite_test.go | ||
| images_test.go | ||
| lyrics_test.go | ||
| multiuser_test.go | ||
| playlists_test.go | ||
| routing_test.go | ||
| search_test.go | ||
| sessions_test.go | ||
| similar_test.go | ||
| smoke_test.go | ||
| streaming_test.go | ||
| system_test.go | ||