Add initial spotify client implementation
This commit is contained in:
@@ -42,6 +42,7 @@ type configOptions struct {
|
||||
|
||||
Scanner scannerOptions
|
||||
LastFM lastfmOptions
|
||||
Spotify spotifyOptions
|
||||
|
||||
// DevFlags. These are used to enable/disable debugging and incomplete features
|
||||
DevLogSourceLine bool
|
||||
@@ -58,6 +59,11 @@ type lastfmOptions struct {
|
||||
Language string
|
||||
}
|
||||
|
||||
type spotifyOptions struct {
|
||||
ID string
|
||||
Secret string
|
||||
}
|
||||
|
||||
var Server = &configOptions{}
|
||||
|
||||
func LoadFromFile(confFile string) {
|
||||
|
||||
Reference in New Issue
Block a user