Second wave of initial code changes.
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
# ========================================================
|
||||
# botamusique example configuration file
|
||||
# Bragi example configuration file
|
||||
# Forked from botamusique by azlux
|
||||
# Version 6
|
||||
# ========================================================
|
||||
# Rename this file to configuration.ini after editing.
|
||||
@ -22,7 +23,7 @@ port = 64738
|
||||
# 'username': The bot's username.
|
||||
# 'comment': Comment displayed on the bot's profile.
|
||||
# 'avatar': Path to an image used for the bot's avatar (PNG recommended, 128 KB max).
|
||||
#username = botamusique
|
||||
#username = bragi
|
||||
#comment = "Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!"
|
||||
#avatar =
|
||||
|
||||
@ -155,46 +156,7 @@ port = 64738
|
||||
# query youtube", you should provide a value here.
|
||||
#youtube_query_cookie = {"CONSENT": "paste your CONSENT cookie value here"}
|
||||
|
||||
# The [webinterface] section stores settings related to the web interface.
|
||||
[webinterface]
|
||||
# 'enabled': Whether to enable the web interface to allow managing your playlist,
|
||||
# uploading tracks, etc.
|
||||
# The web interface is disabled by default for security and performance reasons.
|
||||
# 'access_address': URL provided to users when the public URL for the
|
||||
# web interface is requested.
|
||||
#enabled = False
|
||||
#listening_addr = 127.0.0.1
|
||||
#listening_port = 8181
|
||||
#is_web_proxified = True
|
||||
#access_address = http://127.0.0.1:8181
|
||||
|
||||
# 'web_logfile': If this is provided, web server access logs are written to this file.
|
||||
#web_logfile =
|
||||
|
||||
# 'auth_method': Method used to authenticate users accessing the web interface.
|
||||
# One of 'none', 'password' or 'token'. If this is set to 'token', a unique token
|
||||
# is used for authentication.
|
||||
# 'max_attempts': Amount of incorrect login attempts needed before being banned.
|
||||
# Regenerating a token or rebooting the bot will reset this number.
|
||||
#auth_method = token
|
||||
#max_attempts = 10
|
||||
|
||||
# 'user', 'password': If auth_method is set to 'password', you'll need to set
|
||||
# the default username and password, which is set by these two options.
|
||||
# You can add more users using the '!webadduser' command.
|
||||
#user = botamusique
|
||||
#password = mumble
|
||||
|
||||
# 'flask_secret': To use a token, Flask needs a password to encrypt/sign cookies.
|
||||
# This is absolutely necessary if auth_method is 'token'!
|
||||
#flask_secret = ChangeThisPassword
|
||||
|
||||
# 'upload_enabled': Whether to enable the upload function of the web interface.
|
||||
# If this is False, only admins can upload files.
|
||||
# 'maximum_upload_file_size': Maximum file size allowed for uploads.
|
||||
# Can be specified in B, KB, MB, GB, or TB.
|
||||
#upload_enabled = True
|
||||
#max_upload_file_size = 30MB
|
||||
# Web interface has been removed from Bragi
|
||||
|
||||
# The [debug] section contains settings to enable debugging messaages.
|
||||
[debug]
|
||||
|
Reference in New Issue
Block a user