server/lastfm: make a scrobbler interface and migrate lastfm to use it
This commit is contained in:
committed by
Senan Kelly
parent
cc93d61908
commit
f4ff7e70f2
@@ -13,6 +13,7 @@ import (
|
||||
"go.senan.xyz/gonic/server/ctrlsubsonic/params"
|
||||
"go.senan.xyz/gonic/server/ctrlsubsonic/spec"
|
||||
"go.senan.xyz/gonic/server/jukebox"
|
||||
"go.senan.xyz/gonic/server/lastfm"
|
||||
)
|
||||
|
||||
type CtxKey int
|
||||
@@ -28,6 +29,7 @@ type Controller struct {
|
||||
CachePath string
|
||||
CoverCachePath string
|
||||
Jukebox *jukebox.Jukebox
|
||||
Scrobblers []lastfm.Scrobbler
|
||||
}
|
||||
|
||||
type metaResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user