Optimize playlist updates

This commit is contained in:
Deluan
2021-10-26 10:35:58 -04:00
parent 85185e3b98
commit af00503b77
9 changed files with 83 additions and 45 deletions
+3 -1
View File
@@ -41,7 +41,8 @@ func initMediaAnnotationController(router *Router) *MediaAnnotationController {
func initPlaylistsController(router *Router) *PlaylistsController {
dataStore := router.DataStore
playlistsController := NewPlaylistsController(dataStore)
playlists := router.Playlists
playlistsController := NewPlaylistsController(dataStore, playlists)
return playlistsController
}
@@ -106,5 +107,6 @@ var allProviders = wire.NewSet(
"Scanner",
"Broker",
"Scrobbler",
"Playlists",
),
)