mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Removed list_generator completely
This commit is contained in:
parent
3037ea01e2
commit
6152fadd92
11 changed files with 99 additions and 149 deletions
|
@ -44,8 +44,6 @@ func CreateSubsonicAPIRouter() *subsonic.Router {
|
|||
dataStore := persistence.New()
|
||||
artworkCache := core.NewImageCache()
|
||||
artwork := core.NewArtwork(dataStore, artworkCache)
|
||||
nowPlayingRepository := engine.NewNowPlayingRepository()
|
||||
listGenerator := engine.NewListGenerator(dataStore, nowPlayingRepository)
|
||||
playlists := engine.NewPlaylists(dataStore)
|
||||
transcoderTranscoder := transcoder.New()
|
||||
transcodingCache := core.NewTranscodingCache()
|
||||
|
@ -55,7 +53,7 @@ func CreateSubsonicAPIRouter() *subsonic.Router {
|
|||
client := core.LastFMNewClient()
|
||||
spotifyClient := core.SpotifyNewClient()
|
||||
externalInfo := core.NewExternalInfo(dataStore, client, spotifyClient)
|
||||
router := subsonic.New(artwork, listGenerator, playlists, mediaStreamer, archiver, players, externalInfo, dataStore)
|
||||
router := subsonic.New(artwork, playlists, mediaStreamer, archiver, players, externalInfo, dataStore)
|
||||
return router
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue