1 # ========================================================
2 # botamusique Example Configuration File
4 # ========================================================
5 # Rename this file into configuration.ini after editing.
6 # Uncomment lines you needed, and carefully follow the
8 # ========================================================
10 # [server] section tells the bot how to connect to your murmur server.
11 # This section will be overridden by command line arguments.
17 #tokens = token1,token2
20 # [bot] section stores some basic settings of the behavior of the bot.
22 # 'username' is the user name of the bot.
23 # 'comment' is the comment displayed by the bot.
24 #username = botamusique
25 #comment = Hi, I'm here to play radio, local music or youtube/soundcloud music. Have fun!
27 # 'volume' is default volume from 0 to 1.
28 # This option will be overridden by value in the database.
31 # 'playback_mode' defined the playback mode of the bot.
32 # it should be one of "one-shot" (remove item once played), "repeat" (looping through the playlist),
33 # or "random" (randomize the playlist), "autoplay" (randomly grab something from the music library).
34 # This option will be overridden by value in the database.
35 #playback_mode = one-shot
37 # target version, stable or testing (testing need to bot installed with git)
38 # stable will use simple bash with curl command to get releases, testing will follow github master branch with git commands
39 #target_version = stable
41 # 'admin': Users allowed to kill the bot, or ban URLs. Separated by ';'
44 # 'music_folder': Folder that stores your local songs.
45 #music_folder = music_folder/
47 # 'database_path': The path of the database. The database will store things like your volume
48 # set by command !volume, your playback mode and your playlist, etc.
49 # This option will be overridden by command line arguments.
50 #database_path = database.db
52 # 'tmp_folder': Folder that stores the downloaded music.
53 # 'tmp_folder_max_size': in MB, 0 for no cache, -1 for unlimited size
54 # 'ignored_folders', 'ignored_files': files and folders that would be ignored during scanning.
56 #tmp_folder_max_size = 10
57 #ignored_folders = tmp
58 #ignored_files = Thumbs.db
60 # 'download_attempts': how many times the bot will try to download an item
61 #download_attempts = 2
63 # 'auto_check_update': check for updates every time the bot starts
64 #auto_check_update = True
65 #pip3_path = venv/bin/pip
67 # 'logfile': write logs into this file.
70 #announce_current_music = True
71 #allow_other_channel_message = False
72 #allow_private_message = True
74 # 'save_music_library': If this is set True, the bot will save the metadata of music into the database.
75 #save_music_library = True
77 # 'refresh_cache_on_startup': If this is set true, the bot will refresh its music directory cache when starting up.
78 # But it won't reload metadata from each files. If set to False, it will used the cache last time.
79 #refresh_cache_on_startup = True
81 # 'save_playlist': If save_playlist is set True, the bot will save current playlist before quitting
82 # and reload it the next time it start. It requires save_music_library to be True to function.
85 # 'max_track_playlist': Maximum track played when a playlist is added.
86 #max_track_playlist = 20
88 # 'max_track_duration': Maximum music duration (minutes)
89 #max_track_duration = 60
91 # 'ducking': If ducking is enabled, the bot will automatically attenuate its
92 # volume when someone is talking.
94 #ducking_volume = 0.05
95 #ducking_threshold = 3000
97 # [webinterface] stores settings related to the web interface.
99 # 'enable': Set 'enabled' to True if you'd like to use the web interface to manage
100 # your playlist, upload files, etc.
101 # The web interface is disable by default for security and performance reason.
103 #listening_addr = 127.0.0.1
104 #listening_port = 8181
105 #is_web_proxified = True
107 # 'web_logfile': write access logs of the web server into this file.
110 # 'required_auth': Set this to True to enable password protection for the web interface.
111 #require_auth = False
115 # [debug] stores some debug settings.
117 # 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
119 #mumbleConnection = False
121 # [radio] is a list of default radio stations.
123 #ponyville = http://192.99.131.205:8000/stream.mp3 "Here a command of !radio comment"
124 #luna = http://radio.ponyvillelive.com:8002/stream "calm and orchestra music"
125 #radiobrony = http://62.210.138.34:8000/live "Borny music of a friend"
126 #celestiaradio = http://celestia.aiverse.org:8000/mp3_256
127 #jazz = http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3 "Jazz Yeah !"
130 # [commands] is settings related to user command sent via mumble message.
132 # 'command_symbol' is a list of characters the bot recognizes as command prefix.
133 #command_symbol = !:!
134 # 'split_username_at_space': This option split username, in case you use such kind of mumo plugins https://wiki.mumble.info/wiki/Mumo#Set_Status
135 #split_username_at_space = False
138 # You may also customize commands recognized by the bot. For a full list of commands,
139 # see configuration.default.ini. Copy options you want to edit into this file.
141 #play_file_match = filematch, fm
143 # [strings] is used to compose what the bot says. You can customize them to fit in
144 # the style of your channel, or translate into your own language.
145 # For a full list of strings, please see configuration.default.ini.
146 # Copy options you want to edit into this file.
147 # Note: please keep those {placeholder} of each string in your new string.
150 #current_volume = Current volume: {volume}
151 #current_volume = 当前音量为{volume}
152 #current_volume = よく聞いてね!今の音量は{volume}!<br />ちゃんと覚える:大音量で耳が悪くなる!
154 #bad_command = {command}: command not found
155 #bad_command = {command}: 未知命令,键入'!help'以获取可用命令列表
156 #bad_command = {command}がなに?食べれる?おいしいでしか?