Genius endpoint
This commit is contained in:
@ -36,6 +36,7 @@ class Extension( ext.Extension ):
|
||||
schema['locale'] = config.String()
|
||||
schema['spotify_authorization_url'] = config.String()
|
||||
schema['lastfm_authorization_url'] = config.String()
|
||||
schema['genius_provider_url'] = config.String()
|
||||
schema['snapcast_enabled'] = config.Boolean()
|
||||
schema['snapcast_host'] = config.String()
|
||||
schema['snapcast_port'] = config.Integer()
|
||||
|
||||
@ -464,6 +464,7 @@ class IrisCore(object):
|
||||
"locale": self.config['iris']['locale'],
|
||||
"spotify_authorization_url": self.config['iris']['spotify_authorization_url'],
|
||||
"lastfm_authorization_url": self.config['iris']['lastfm_authorization_url'],
|
||||
"genius_provider_url": self.config['iris']['genius_provider_url'],
|
||||
"snapcast_enabled": self.config['iris']['snapcast_enabled']
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,7 @@ country = NZ
|
||||
locale = en_NZ
|
||||
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
|
||||
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
|
||||
genius_provider_url = https://jamesbarnsley.co.nz/iris/provider_genius.php
|
||||
snapcast_enabled = false
|
||||
snapcast_host = localhost
|
||||
snapcast_port = 1705
|
||||
4
src/js/bootstrap.js
vendored
4
src/js/bootstrap.js
vendored
@ -80,7 +80,9 @@ var initialState = {
|
||||
me: false,
|
||||
authorization_url: 'https://jamesbarnsley.co.nz/iris/auth_lastfm.php'
|
||||
},
|
||||
genius: {},
|
||||
genius: {,
|
||||
provider_url: 'https://jamesbarnsley.co.nz/iris/provider_genius.php'
|
||||
},
|
||||
spotify: {
|
||||
me: false,
|
||||
autocomplete_results: {},
|
||||
|
||||
Reference in New Issue
Block a user