PreCache Playlists CoverArt

This commit is contained in:
Deluan
2022-12-28 13:37:13 -05:00
committed by Deluan Quintão
parent 14032a524b
commit 0c7c6ba020
5 changed files with 34 additions and 12 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ type TagScanner struct {
func NewTagScanner(rootFolder string, ds model.DataStore, playlists core.Playlists, cacheWarmer artwork.CacheWarmer) FolderScanner {
s := &TagScanner{
rootFolder: rootFolder,
plsSync: newPlaylistImporter(ds, playlists, rootFolder),
plsSync: newPlaylistImporter(ds, playlists, cacheWarmer, rootFolder),
ds: ds,
cacheWarmer: cacheWarmer,
}