Incomplete implementation of agents

This commit is contained in:
Deluan
2021-02-07 16:46:15 -05:00
committed by Deluan Quintão
parent d8a4db36ef
commit 9d24106066
8 changed files with 572 additions and 8 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func CreateSubsonicAPIRouter() *subsonic.Router {
players := core.NewPlayers(dataStore)
client := core.LastFMNewClient()
spotifyClient := core.SpotifyNewClient()
externalInfo := core.NewExternalInfo(dataStore, client, spotifyClient)
externalInfo := core.NewExternalInfo2(dataStore, client, spotifyClient)
scanner := GetScanner()
router := subsonic.New(dataStore, artwork, mediaStreamer, archiver, players, externalInfo, scanner)
return router