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 # 'autoplay_length': how many songs the autoplay mode fills the playlist
36 #playback_mode = one-shot
39 # target version, stable or testing (testing need to bot installed with git)
40 # stable will use simple bash with curl command to get releases, testing will follow github master branch with git commands
41 #target_version = stable
43 # 'admin': Users allowed to kill the bot, or ban URLs. Separated by ';'
46 # 'music_folder': Folder that stores your local songs.
47 #music_folder = music_folder/
49 # 'database_path': The path of the database. The database will store things like your volume
50 # set by command !volume, your playback mode and your playlist, etc.
51 # This option will be overridden by command line arguments.
52 #database_path = database.db
54 # 'tmp_folder': Folder that stores the downloaded music.
55 # 'tmp_folder_max_size': in MB, 0 for no cache, -1 for unlimited size
56 # 'ignored_folders', 'ignored_files': files and folders that would be ignored during scanning.
58 #tmp_folder_max_size = 10
59 #ignored_folders = tmp
60 #ignored_files = Thumbs.db
62 # 'download_attempts': how many times the bot will try to download an item
63 #download_attempts = 2
65 # 'auto_check_update': check for updates every time the bot starts
66 #auto_check_update = True
67 #pip3_path = venv/bin/pip
69 # 'logfile': write logs into this file.
72 #announce_current_music = True
73 #allow_other_channel_message = False
74 #allow_private_message = True
76 # 'save_music_library': If this is set True, the bot will save the metadata of music into the database.
77 #save_music_library = True
79 # 'refresh_cache_on_startup': If this is set true, the bot will refresh its music directory cache when starting up.
80 # But it won't reload metadata from each files. If set to False, it will used the cache last time.
81 #refresh_cache_on_startup = True
83 # 'save_playlist': If save_playlist is set True, the bot will save current playlist before quitting
84 # and reload it the next time it start. It requires save_music_library to be True to function.
87 # 'max_track_playlist': Maximum track played when a playlist is added.
88 #max_track_playlist = 20
90 # 'max_track_duration': Maximum music duration (minutes)
91 #max_track_duration = 60
93 # 'ducking': If ducking is enabled, the bot will automatically attenuate its
94 # volume when someone is talking.
96 #ducking_volume = 0.05
97 #ducking_threshold = 3000
99 # [webinterface] stores settings related to the web interface.
101 # 'enable': Set 'enabled' to True if you'd like to use the web interface to manage
102 # your playlist, upload files, etc.
103 # The web interface is disable by default for security and performance reason.
105 #listening_addr = 127.0.0.1
106 #listening_port = 8181
107 #is_web_proxified = True
109 # 'web_logfile': write access logs of the web server into this file.
112 # 'required_auth': Set this to True to enable password protection for the web interface.
113 #require_auth = False
117 # [debug] stores some debug settings.
119 # 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
121 #mumbleConnection = False
123 # [radio] is a list of default radio stations.
125 #ponyville = http://192.99.131.205:8000/stream.mp3 "Here a command of !radio comment"
126 #luna = http://radio.ponyvillelive.com:8002/stream "calm and orchestra music"
127 #radiobrony = http://62.210.138.34:8000/live "Borny music of a friend"
128 #celestiaradio = http://celestia.aiverse.org:8000/mp3_256
129 #jazz = http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3 "Jazz Yeah !"
132 # [commands] is settings related to user command sent via mumble message.
134 # 'command_symbol' is a list of characters the bot recognizes as command prefix.
135 #command_symbol = !:!
136 # '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
137 #split_username_at_space = False
140 # You may also customize commands recognized by the bot. For a full list of commands,
141 # see configuration.default.ini. Copy options you want to edit into this file.
143 #play_file_match = filematch, fm
145 # [strings] is used to compose what the bot says. You can customize them to fit in
146 # the style of your channel, or translate into your own language.
147 # For a full list of strings, please see configuration.default.ini.
148 # Copy options you want to edit into this file.
149 # Note: please keep those {placeholder} of each string in your new string.
152 #current_volume = Current volume: {volume}
153 #current_volume = 当前音量为{volume}
154 #current_volume = よく聞いてね!今の音量は{volume}!<br />ちゃんと覚える:大音量で耳が悪くなる!
156 #bad_command = {command}: command not found
157 #bad_command = {command}: 未知命令,键入'!help'以获取可用命令列表
158 #bad_command = {command}がなに?食べれる?おいしいでしか?