🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add missing call to refresh artists
Deluan040c7f1e7d07
diff --git a/scanner/refresh_buffer.go b/scanner/refresh_buffer.goindex d55624600..b588c159b 100644--- a/scanner/refresh_buffer.go+++ b/scanner/refresh_buffer.go@@ -17,15 +17,16 @@ type refreshBuffer struct {func newRefreshBuffer(ctx context.Context, ds model.DataStore) *refreshBuffer {return &refreshBuffer{- ctx: ctx,- ds: ds,- album: map[string]struct{}{},+ ctx: ctx,+ ds: ds,+ album: map[string]struct{}{},+ artist: map[string]struct{}{},}}func (f *refreshBuffer) accumulate(mf model.MediaFile) {f.album[mf.AlbumID] = struct{}{}- f.album[mf.AlbumArtistID] = struct{}{}+ f.artist[mf.AlbumArtistID] = struct{}{}}type refreshCallbackFunc = func(ids ...string) error