diff --git a/configuration.default.ini b/configuration.default.ini index 64d6696..1109e7b 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -22,104 +22,68 @@ host = 127.0.0.1 port = 64738 password = channel = -# example: token1,token2 tokens = certificate = [bot] username = botamusique comment = "Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!" +<<<<<<< HEAD avatar = # default volume from 0 to 1. +======= +>>>>>>> 5d58f6d (fix(config): Reorganize) volume = 0.1 stereo = True -# bandwidth used by the bot bandwidth = 96000 -# playback mode should be one of "one-shot", "repeat", "random", "autoplay" playback_mode = one-shot autoplay_length = 5 clear_when_stop_in_oneshot = False - -# target version, stable/testing/git (testing needs to be installed with git) target_version = git - -# Users allowed to kill the bot, or ban URLs. -admin = User1;User2; -# Folder that stores your local songs. +admin = music_folder = music_folder/ -# Folder that stores the downloaded music. tmp_folder = /tmp/ pip3_path = venv/bin/pip auto_check_update = True logfile = - -# in MB, 0 for no cache, -1 for unlimited size tmp_folder_max_size = 10 - -# how many times the bot will try to download an item download_attempts = 2 - ignored_folders = tmp ignored_files = Thumbs.db - announce_current_music = True allow_other_channel_message = False allow_private_message = True - -# 'save_music_library': If this is set True, the bot will save the metadata of music into the database. save_music_library = True - -# 'refresh_cache_on_startup': If this is set true, the bot will refresh its music directory cache when starting up. -# But it won't reload metadata from each files. If set to False, it will used the cache last time. refresh_cache_on_startup = True - -# If save_playlist is set True, the bot will save current -# playlist before quitting and reload it the next time it start. save_playlist = True - -# Maximum track played when a playlist is added. max_track_playlist = 20 - -# Maximum music duration (minutes) max_track_duration = 60 - -# If ducking is enabled, the bot will automatically attenuate its volume when someone is talking. ducking = False ducking_volume = 0.05 ducking_threshold = 3000 - -# if when_nobody_in_channel is enabled and the bot is left alone, action are make : -# "pause" (pause current song), "pause_resume" (pause current song and resume once somebody reenters the channel), "stop" (also clears playlist) or "nothing" (keep playing music) when_nobody_in_channel = nothing [webinterface] -# Set enabled to True if you'd like to use the web interface to manage your playlist, upload files, etc. enabled = False is_web_proxified = True listening_addr = 127.0.0.1 listening_port = 8181 web_logfile = - auth_method = none user = password = max_attempts = 10 - access_address = http://127.0.0.1:8181 - flask_secret = ChangeThisPassword - upload_enabled = True max_upload_file_size = 30M [debug] -# Set ffmpeg to True if you want to display DEBUG level log of ffmpeg. ffmpeg = False redirect_ffmpeg_log = True mumbleConnection = False youtube_dl = False -# This is a list of default radio stations. [radio] ponyville = http://192.99.131.205:8000/stream.mp3 "Here a command of !radio comment" luna = http://radio.ponyvillelive.com:8002/stream "calm and orchestra music" @@ -131,31 +95,18 @@ source_address = cookiefile = user_agent = - - -# ========================================================= -# WARNING: WE DO NOT SUGGEST YOU MODIFY THE FOLLOWING -# PARTS, EXCEPT IF YOU KNOW WHAT YOU ARE DOING. -# ========================================================= [commands] -# This is a list of characters the bot recognizes as command prefix. command_symbol = !:! -# This option split username, in case you use such kind of mumo plugins https://wiki.mumble.info/wiki/Mumo#Set_Status split_username_at_space = False - - play_file = file, f play_file_match = filematch, fm play_url = url play_radio = radio play_playlist = playlist - rb_query = rbquery rb_play = rbplay - yt_search = ysearch yt_play = yplay - help = help pause = pause play = p, play @@ -176,7 +127,6 @@ version = version mode = mode update = update list_file = listfile - play_tag = tag add_tag = addtag remove_tag = untag @@ -184,7 +134,6 @@ find_tagged = findtagged, ft search = search delete_from_library = delete add_from_shortlist = shortlist, sl - user_ban = userban user_unban = userunban url_ban = urlban @@ -193,14 +142,11 @@ url_unban = urlunban url_whitelist = urlwhitelist, urlw url_unwhitelist = urlunwhitelist, urlunw url_whitelist_list = urlwhitelistlist, urlwls - ducking = duck ducking_threshold = duckthres ducking_volume = duckv - drop_database = dropdatabase rescan = rescan - requests_webinterface_access = web list_webinterface_user = webuserlist add_webinterface_user = webuseradd