]> git.0d.be Git - botaradio.git/blob - configuration.example.ini
feat: beautified current song string, fix ytplay index problem
[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).
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_playlist': If save_playlist is set True, the bot will save current
75 # playlist before quitting and reload it the next time it start.
76 #save_playlist = True
77
78 # 'max_track_playlist': Maximum track played when a playlist is added.
79 #max_track_playlist = 20
80
81 # 'max_track_duration': Maximum music duration (minutes)
82 #max_track_duration = 60
83
84 # 'ducking': If ducking is enabled, the bot will automatically attenuate its
85 #  volume when someone is talking.
86 #ducking = False
87 #ducking_volume = 0.05
88 #ducking_threshold = 3000
89
90 # [webinterface] stores settings related to the web interface.
91 [webinterface]
92 # 'enable': Set 'enabled' to True if you'd like to use the web interface to manage
93 #  your playlist, upload files, etc.
94 #  The web interface is disable by default for security and performance reason.
95 #enabled = False
96 #listening_addr = 127.0.0.1
97 #listening_port = 8181
98 #is_web_proxified = True
99
100 # 'web_logfile': write access logs of the web server into this file.
101 #web_logfile =
102
103 # 'required_auth': Set this to True to enable password protection for the web interface.
104 #require_auth = False
105 #user =
106 #password =
107
108 # [debug] stores some debug settings.
109 [debug]
110 # 'ffmpeg': Set ffmpeg to True if you want to display DEBUG level log of ffmpeg.
111 #ffmpeg = False
112 #mumbleConnection = False
113
114 # [radio] is a list of default radio stations.
115 [radio]
116 #ponyville = http://192.99.131.205:8000/stream.mp3 "Here a command of !radio comment"
117 #luna = http://radio.ponyvillelive.com:8002/stream "calm and orchestra music"
118 #radiobrony = http://62.210.138.34:8000/live "Borny music of a friend"
119 #celestiaradio = http://celestia.aiverse.org:8000/mp3_256
120 #jazz = http://jazz-wr04.ice.infomaniak.ch/jazz-wr04-128.mp3 "Jazz Yeah !"
121
122
123 # [commands] is settings related to user command sent via mumble message.
124 [commands]
125 # 'command_symbol' is a list of characters the bot recognizes as command prefix.
126 #command_symbol = !:!
127 # '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
128 #split_username_at_space = False
129
130
131 # You may also customize commands recognized by the bot. For a full list of commands,
132 #  see configuration.default.ini. Copy options you want to edit into this file.
133 #play_file = file, f
134 #play_file_match = filematch, fm
135
136 # [strings] is used to compose what the bot says. You can customize them to fit in
137 #  the style of your channel, or translate into your own language.
138 #  For a full list of strings, please see configuration.default.ini.
139 #  Copy options you want to edit into this file.
140 #  Note: please keep those {placeholder} of each string in your new string.
141 [strings]
142 # Some examples are:
143 #current_volume = Current volume: {volume}
144 #current_volume = 当前音量为{volume}
145 #current_volume = よく聞いてね!今の音量は{volume}!<br />ちゃんと覚える:大音量で耳が悪くなる!
146 #
147 #bad_command = {command}: command not found
148 #bad_command = {command}: 未知命令,键入'!help'以获取可用命令列表
149 #bad_command = {command}がなに?食べれる?おいしいでしか?