Clean up, comments and logs

This commit is contained in:
Deluan
2021-02-08 11:21:23 -05:00
committed by Deluan Quintão
parent 365dff6435
commit 52a407b84b
3 changed files with 23 additions and 38 deletions
+1 -3
View File
@@ -42,9 +42,7 @@ func CreateSubsonicAPIRouter() *subsonic.Router {
mediaStreamer := core.NewMediaStreamer(dataStore, transcoderTranscoder, transcodingCache)
archiver := core.NewArchiver(dataStore)
players := core.NewPlayers(dataStore)
client := core.LastFMNewClient()
spotifyClient := core.SpotifyNewClient()
externalInfo := core.NewExternalInfo2(dataStore, client, spotifyClient)
externalInfo := core.NewExternalInfo2(dataStore)
scanner := GetScanner()
router := subsonic.New(dataStore, artwork, mediaStreamer, archiver, players, externalInfo, scanner)
return router