]> git.0d.be Git - botaradio.git/blob - configuration.example.ini
feat: add tags, remove tags, play tags, find tags #91
[botaradio.git] / configuration.example.ini
1 # ========================================================
2 #  botamusique Example Configuration File
3 #  Version 6
4 # ========================================================
5 #  Rename this file into configuration.ini after editing.
6 #  Uncomment lines you needed, and carefully follow the
7 #  instructions.
8 # ========================================================
9
10 # [server] section tells the bot how to connect to your murmur server.
11 # This section will be overridden by command line arguments.
12 [server]
13 host = 127.0.0.1
14 port = 64738
15 #password =
16 #channel =
17 #tokens = token1,token2
18 #certificate =
19
20 # [bot] section stores some basic settings of the behavior of the bot.
21 [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!
26
27 # 'volume' is default volume from 0 to 1.
28 # This option will be overridden by value in the database.
29 #volume = 0.1
30
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
36
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
40
41 # 'admin': Users allowed to kill the bot, or ban URLs. Separated by ';'
42 #admin = User1;User2;
43
44 # 'music_folder': Folder that stores your local songs.
45 #music_folder = music_folder/
46
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
51
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.
55 #tmp_folder = /tmp/
56 #tmp_folder_max_size = 10
57 #ignored_folders = tmp
58 #ignored_files = Thumbs.db
59
60 # 'download_attempts': how many times the bot will try to download an item
61 #download_attempts = 2
62
63 # 'auto_check_update': check for updates every time the bot starts
64 #auto_check_update = True
65 #pip3_path = venv/bin/pip
66
67 # 'logfile': write logs into this file.
68 #logfile =
69
70 #announce_current_music = True
71 #allow_other_channel_message = False
72 #allow_private_message = True
73
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
76
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
80
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.
83 #save_playlist = True
84
85 # 'max_track_playlist': Maximum track played when a playlist is added.
86 #max_track_playlist = 20
87
88 # 'max_track_duration': Maximum music duration (minutes)
89 #max_track_duration = 60
90
91 # 'ducking': If ducking is enabled, the bot will automatically attenuate its
92 #  volume when someone is talking.
93 #ducking = False
94 #ducking_volume = 0.05
95 #ducking_threshold = 3000
96
97 # [webinterface] stores settings related to the web interface.
98 [webinterface]
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.
102 #enabled = False
103 #listening_addr = 127.0.0.1
104 #listening_port = 8181
105 #is_web_proxified = True
106
107 # 'web_logfile': write access logs of the web server into this file.
108 #web_logfile =
109
110 # 'required_auth': Set this to True to enable password protection for the web interface.
111 #require_auth = False
112 #user =
113 #password =
114
115 # [debug] stores some debug settings.
116 [debug]
117 # 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
118 #ffmpeg = False
119 #mumbleConnection = False
120
121 # [radio] is a list of default radio stations.
122 [radio]
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 !"
128
129
130 # [commands] is settings related to user command sent via mumble message.
131 [commands]
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
136
137
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.
140 #play_file = file, f
141 #play_file_match = filematch, fm
142
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.
148 [strings]
149 # Some examples are:
150 #current_volume = Current volume: {volume}
151 #current_volume = 当前音量为{volume}
152 #current_volume = よく聞いてね!今の音量は{volume}!<br />ちゃんと覚える:大音量で耳が悪くなる!
153 #
154 #bad_command = {command}: command not found
155 #bad_command = {command}: 未知命令,键入'!help'以获取可用命令列表
156 #bad_command = {command}がなに?食べれる?おいしいでしか?