Revert "refactor(server): simplify lastfm agent initialization logic"
This reverts commit 6f52c0201c.
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -45,7 +45,7 @@ func createAgents(ds model.DataStore) *Agents {
|
||||
continue
|
||||
}
|
||||
enabled = append(enabled, name)
|
||||
res = append(res, agent)
|
||||
res = append(res, init(ds))
|
||||
}
|
||||
log.Debug("List of agents enabled", "names", enabled)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user