def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['username'] = config.String() schema['password'] = config.Secret() schema['client_id'] = config.String() schema['client_secret'] = config.Secret() schema['bitrate'] = config.Integer(choices=(96, 160, 320)) schema['volume_normalization'] = config.Boolean() schema['private_session'] = config.Boolean() schema['timeout'] = config.Integer(minimum=0) schema['cache_dir'] = config.Deprecated() # since 2.0 schema['settings_dir'] = config.Deprecated() # since 2.0 schema['allow_cache'] = config.Boolean() schema['allow_network'] = config.Boolean() schema['allow_playlists'] = config.Boolean() schema['search_album_count'] = config.Integer(minimum=0, maximum=200) schema['search_artist_count'] = config.Integer(minimum=0, maximum=200) schema['search_track_count'] = config.Integer(minimum=0, maximum=200) schema['toplist_countries'] = config.List(optional=True) return schema
def get_config_schema(self): schema = super().get_config_schema() schema["username"] = config.String() schema["password"] = config.Secret() schema["client_id"] = config.String() schema["client_secret"] = config.Secret() schema["bitrate"] = config.Integer(choices=(96, 160, 320)) schema["volume_normalization"] = config.Boolean() schema["private_session"] = config.Boolean() schema["timeout"] = config.Integer(minimum=0) schema["cache_dir"] = config.Deprecated() # since 2.0 schema["settings_dir"] = config.Deprecated() # since 2.0 schema["allow_cache"] = config.Boolean() schema["allow_network"] = config.Boolean() schema["allow_playlists"] = config.Boolean() schema["search_album_count"] = config.Integer(minimum=0, maximum=200) schema["search_artist_count"] = config.Integer(minimum=0, maximum=200) schema["search_track_count"] = config.Integer(minimum=0, maximum=200) schema["toplist_countries"] = config.List(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['lastfm_username'] = config.String() schema['lastfm_password'] = config.Secret() schema['librefm_username'] = config.String() schema['librefm_password'] = config.Secret() return schema
def get_config_schema(self): schema = super(BAMPExtension, self).get_config_schema() schema['hostname'] = config.Hostname() schema['port'] = config.Port() schema['zeroconf'] = config.String(optional=True) schema['allowed_origins'] = config.List(optional=True) schema['csrf_protection'] = config.Boolean(optional=True) schema['xheaders_enabled'] = config.Boolean(optional=False) schema['cookie_secret'] = config.Secret() schema['ldap_uri'] = config.Secret() schema['ldap_schema'] = config.Secret() schema['downvotes_before_remove'] = config.Integer(minimum=1) schema['downvotes_difference_before_remove'] = config.Integer( optional=True) schema['allow_vote_on_own_tracks'] = config.Boolean(optional=False) schema['negative_scores_affect_ordering'] = config.Boolean( optional=False) schema['seconds_before_replay_allowed'] = config.Integer(minimum=0) schema['max_history_count'] = config.Integer(minimum=1) schema['max_alias_length'] = config.Integer(minimum=1) schema['slack_web_hook'] = config.String(optional=False) schema['build_hash'] = config.String(optional=False) schema['icecast_url'] = config.String(optional=True) schema['use_ldap_starttls'] = config.Boolean(optional=False) schema['ldap_certificate_path'] = config.String(optional=False) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['server'] = config.String() schema['username'] = config.String() schema['password'] = config.Secret() schema['token'] = config.Secret() schema['library_id'] = config.String() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema["username"] = config.String() schema["password"] = config.Secret() schema["client_id"] = config.String() schema["client_secret"] = config.Secret() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['consumerkey'] = config.String() schema['consumersecret'] = config.Secret() schema['token'] = config.String() schema['secret'] = config.Secret() schema['username'] = config.String() schema['playlist'] = config.String() schema['master'] = config.Boolean() return schema
def get_config_schema(self): schema = super().get_config_schema() schema["explore_songs"] = config.Integer(optional=True) schema["auth_token"] = config.Secret() schema["explore"] = config.Deprecated() schema["explore_pages"] = config.Deprecated() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['host'] = config.String() schema['user'] = config.String() schema['password'] = config.Secret() schema['cache_time'] = config.Integer() return schema
def get_config_schema(self): schema = super().get_config_schema() schema["username"] = config.Deprecated() schema["password"] = config.Deprecated() schema["refresh_token"] = config.Secret(optional=True) schema["bitrate"] = config.Integer(choices=(128, 160, 320)) schema["deviceid"] = config.String(optional=True) schema["all_access"] = config.Boolean(optional=True) schema["refresh_library"] = config.Integer(minimum=-1, optional=True) schema["refresh_playlists"] = config.Integer(minimum=-1, optional=True) schema["radio_stations_in_browse"] = config.Boolean(optional=True) schema["radio_stations_as_playlists"] = config.Boolean(optional=True) schema["radio_stations_count"] = config.Integer(minimum=1, optional=True) schema["radio_tracks_count"] = config.Integer(minimum=1, optional=True) schema["top_tracks_count"] = config.Integer(minimum=1, optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema["username"] = config.String() schema["password"] = config.Secret(optional = True) return schema
def get_config_schema(self): schema = super().get_config_schema() schema["account_name"] = config.String() schema["account_key"] = config.Secret() schema["songs_container"] = config.String() schema["cache_container"] = config.String() return schema
def get_config_schema(self): schema = super(SoundCloudExtension, self).get_config_schema() schema['explore_songs'] = config.Integer(optional=True) schema['auth_token'] = config.Secret() schema['explore'] = config.Deprecated() schema['explore_pages'] = config.Deprecated() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['hostname'] = config.String() schema['port'] = config.Integer(optional=True) schema['widget'] = config.String() schema['auth_token'] = config.Secret() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['hostname'] = config.Hostname() schema['port'] = config.Port() schema['password'] = config.Secret(optional=True) schema['max_connections'] = config.Integer(minimum=1) schema['connection_timeout'] = config.Integer(minimum=1) return schema
def get_config_schema(self): schema = super(SubidyExtension, self).get_config_schema() schema['url'] = config.String() schema['username'] = config.String() schema['password'] = config.Secret() schema['legacy_auth'] = config.Boolean(optional=True) schema['api_version'] = config.String(optional=True) return schema
def get_config_schema(self): schema = super().get_config_schema() schema["url"] = config.String() schema["username"] = config.String() schema["password"] = config.Secret() schema["legacy_auth"] = config.Boolean(optional=True) schema["api_version"] = config.String(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['username'] = config.String() schema['password'] = config.Secret() schema['bitrate'] = config.Integer(choices=(96, 160, 320)) schema['timeout'] = config.Integer(minimum=0) schema['cache_dir'] = config.Path() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['hostname'] = config.Hostname() schema['port'] = config.Port() schema['ssl'] = config.String() schema['username'] = config.String() schema['password'] = config.Secret() return schema
def get_config_schema(self): schema = super().get_config_schema() schema["admin_password"] = config.Secret() schema["stream_url"] = config.String(optional=True) schema["fallback_playlist_uri"] = config.String(optional=True) schema["shuffle_fallback_playlist"] = config.Boolean(optional=True) schema["enable_play_button"] = config.Boolean(optional=True) return schema
def get_config_schema(self): schema = super().get_config_schema() # TODO: Comment in and edit, or remove entirely schema["username"] = config.String() schema["password"] = config.Secret() schema["quality"] = config.String(True, choices=['low', 'high', 'lossless']) return schema
def get_config_schema(self): schema = super(SubsonicExtension, self).get_config_schema() schema['hostname'] = config.Hostname() schema['port'] = config.Port() schema['username'] = config.String() schema['password'] = config.Secret() schema['ssl'] = config.Boolean() schema['context'] = config.String(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['username'] = config.String() schema['password'] = config.Secret() schema['quality'] = config.String(choices=["LOSSLESS", "HIGH", "LOW"]) schema['spotify_proxy'] = config.Boolean(optional=True) schema['spotify_client_id'] = config.String(optional=True) schema['spotify_client_secret'] = config.String(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['username'] = config.String() schema['password'] = config.Secret() schema['bitrate'] = config.Integer(choices=(96, 160, 320)) schema['timeout'] = config.Integer(minimum=0) schema['cache_dir'] = config.Path(optional=True) schema['settings_dir'] = config.Path() schema['toplist_countries'] = config.List(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['token'] = config.Secret() schema['oauth'] = config.String() schema['oauth_port'] = config.Integer(optional=True, choices=range(8000, 10000)) schema['image_search'] = config.Boolean() schema['quality'] = config.String( choices=["HI_RES", "LOSSLESS", "HIGH", "LOW"]) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['host'] = config.Hostname() schema['port'] = config.Port(optional=True) schema['topic'] = config.String() schema['username'] = config.String(optional=True) schema['password'] = config.Secret(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['username'] = config.String(optional=True) schema['password'] = config.Secret(optional=True) schema['quality'] = config.String(optional=True) schema['difm'] = config.Boolean(optional=True) schema['radiotunes'] = config.Boolean(optional=True) schema['rockradio'] = config.Boolean(optional=True) schema['jazzradio'] = config.Boolean(optional=True) schema['frescaradio'] = config.Boolean(optional=True) return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['hostname'] = config.Hostname() schema['port'] = config.Port(optional=True) schema['password'] = config.Secret(optional=True) schema['max_connections'] = config.Integer(minimum=1) schema['connection_timeout'] = config.Integer(minimum=1) schema['zeroconf'] = config.String(optional=True) schema['command_blacklist'] = config.List(optional=True) schema['default_playlist_scheme'] = config.String() return schema
def get_config_schema(self): schema = super(Extension, self).get_config_schema() schema['username'] = config.String() schema['user_id'] = config.String(optional=True) schema['password'] = config.Secret() schema['hostname'] = config.String() schema['port'] = config.Port() schema['client_cert'] = config.String(optional=True) schema['client_key'] = config.String(optional=True) return schema
def get_config_schema(self): schema = super().get_config_schema() schema["hostname"] = config.Hostname() schema["port"] = config.Port(optional=True) schema["password"] = config.Secret(optional=True) schema["max_connections"] = config.Integer(minimum=1) schema["connection_timeout"] = config.Integer(minimum=1) schema["zeroconf"] = config.String(optional=True) schema["command_blacklist"] = config.List(optional=True) schema["default_playlist_scheme"] = config.String() return schema