Speed updatabase generation. Generate and use a certificate by default.

This commit is contained in:
Storm Dragon
2025-12-12 22:34:11 -05:00
parent 8ededf6408
commit c310a1c318
9 changed files with 246 additions and 140 deletions

View File

@@ -16,6 +16,10 @@ port = 64738
#password =
#channel =
#tokens = token1,token2
# 'certificate': Path to client certificate for Mumble authentication.
# If not specified, a self-signed certificate (bragi.pem) will be
# automatically generated in the bot's directory. This provides the bot
# with a persistent identity on the Mumble server.
#certificate =
# The [bot] section stores some basic settings for the bot.
@@ -27,10 +31,6 @@ port = 64738
#comment = "Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!"
#avatar =
# 'language': Language to use; available languages can be found inside
# the lang/ folder.
#language=en_US
# 'music_folder': Folder that stores your local songs.
#music_folder = music_folder/
@@ -74,8 +74,11 @@ port = 64738
#autoplay_length = 5
#clear_when_stop_in_oneshot = False
# Auto-update system has been removed from Bragi
#target_version = stable
# 'rebuild_workers': Number of parallel workers for database rebuild (scanning music files).
# 0 = auto (recommended: uses all CPU cores minus 1 to leave one free for audio/system)
# 1 = sequential (no parallelization, slowest but lowest resource usage)
# N = use exactly N worker processes (2 or higher for parallel processing)
#rebuild_workers = 0
# 'tmp_folder': Folder that music will be downloaded into.
# 'tmp_folder_max_size': Maximum size of tmp_folder in MB, or 0 to not cache
@@ -89,10 +92,6 @@ port = 64738
# 'download_attempts': How many times to attempt a download.
#download_attempts = 2
# Auto-update system has been removed from Bragi
#auto_check_update = False
#pip3_path = venv/bin/pip
# 'logfile': File to write log messages to.
# 'redirect_stderr': Whether to capture outputs from standard error and write
# it into the log file. Useful for capturing an exception message when the
@@ -105,7 +104,7 @@ port = 64738
#allow_private_message = True
# 'delete_allowed': Whether to allow admins to delete a file from the library
# stored on disk. Works for both command and web interfaces.
# stored on disk.
#delete_allowed = True
# 'save_music_library': Whether to save music metadata to the database.
@@ -153,8 +152,6 @@ port = 64738
# query youtube", you should provide a value here.
#youtube_query_cookie = {"CONSENT": "paste your CONSENT cookie value here"}
# Web interface has been removed from Bragi
# The [debug] section contains settings to enable debugging messages.
[debug]
# 'ffmpeg': Whether to display debug messages from ffmpeg.