Add missing call to refresh artists
This commit is contained in:
@@ -20,12 +20,13 @@ func newRefreshBuffer(ctx context.Context, ds model.DataStore) *refreshBuffer {
|
|||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
ds: ds,
|
ds: ds,
|
||||||
album: map[string]struct{}{},
|
album: map[string]struct{}{},
|
||||||
|
artist: map[string]struct{}{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *refreshBuffer) accumulate(mf model.MediaFile) {
|
func (f *refreshBuffer) accumulate(mf model.MediaFile) {
|
||||||
f.album[mf.AlbumID] = struct{}{}
|
f.album[mf.AlbumID] = struct{}{}
|
||||||
f.album[mf.AlbumArtistID] = struct{}{}
|
f.artist[mf.AlbumArtistID] = struct{}{}
|
||||||
}
|
}
|
||||||
|
|
||||||
type refreshCallbackFunc = func(ids ...string) error
|
type refreshCallbackFunc = func(ids ...string) error
|
||||||
|
|||||||
Reference in New Issue
Block a user