add back prefetching album cover callback to iterators

This commit is contained in:
Drew Weymouth
2023-05-15 18:21:28 -07:00
parent f926ed3fb9
commit 5361de6581
5 changed files with 61 additions and 46 deletions
+2
View File
@@ -32,6 +32,8 @@ type Favorites struct {
}
type MediaProvider interface {
SetPrefetchCoverCallback(cb func(coverArtID string))
GetAlbum(albumID string) (*AlbumWithTracks, error)
GetArtist(artistID string) (*ArtistWithAlbums, error)