add lastfm client to subsonic controller
This commit is contained in:
@@ -110,6 +110,7 @@ func New(opts Options) (*Server, error) {
|
|||||||
PodcastsPath: opts.PodcastPath,
|
PodcastsPath: opts.PodcastPath,
|
||||||
CacheAudioPath: opts.CacheAudioPath,
|
CacheAudioPath: opts.CacheAudioPath,
|
||||||
CoverCachePath: opts.CoverCachePath,
|
CoverCachePath: opts.CoverCachePath,
|
||||||
|
LastFMClient: lastfmClient,
|
||||||
Scrobblers: []scrobble.Scrobbler{
|
Scrobblers: []scrobble.Scrobbler{
|
||||||
lastfm.NewScrobbler(opts.DB, lastfmClient),
|
lastfm.NewScrobbler(opts.DB, lastfmClient),
|
||||||
listenbrainz.NewScrobbler(),
|
listenbrainz.NewScrobbler(),
|
||||||
|
|||||||
Reference in New Issue
Block a user