-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsibyl.conf.default
341 lines (260 loc) · 11.5 KB
/
sibyl.conf.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
################################################################################
#
# Lines starting with "#" or ";" are comments. You can also add in-line comments
# using " ;" after an option.
#
# Options are specified one per line with "opt = value".
#
# If an option isn't recognized, it will be ignored. You can use these as
# custom variables to make some defintions easier. For example:
#
# users = alice,bob
# cmds = play,pause
# bw_list = b %(users)s *; w %(users)s %(cmds)s
#
# Because of the above interpolation, percent signs must be escaped; i.e. use
# "%%" in the config file to mean "%" after parsing.
#
# The value for an option can span multiple lines.
#
# Unknown options will appear as INFO in the log, and invalid values as WARN. If
# something isn't working as expected, check the log for "config" entries.
#
# Relative paths are relative to the location of "run.py"
#
# For full specifications read the python docs on SafeConfigParser:
# https://docs.python.org/2/library/configparser.html
#
################################################################################
# [REQUIRED] Comma-separated list of protocols to use
protocols = cli
# Chat rooms to join on bot startup
# Format for single entry: proto:room,nick,pass
# Can also be: proto:room OR proto:room,nick OR proto:room,,pass
# Multiple rooms separated by ";" e.g.: proto:room,nick,pass; proto:room,nick
#rooms =
# Default nick to use in rooms
#nick_name = Sibyl
# Character sequence used to give the bot a command in a MUC. Default is None.
# Example: "!hello" instead of "Sibyl hello"
#cmd_prefix =
# Black and white list to allow/forbid users from running certain commands
# Format is: w * *; b from id; w from1,from2 id1,id2
# from fields can be protocols, rooms, or usernames
# protocols must be p:proto e.g. "p:xmpp"
# rooms must be r:protocol:room e.g. "r:xmpp:[email protected]"
# users must be u:protocol:user e.g. "u:xmpp:[email protected]"
# id fields can be plugin or chat command names
# plugins must end with .py e.g. "xbmc.py"
# commands are anything not matching the above e.g. "stream"
# more details: https://github.com/TheSchwa/sibyl/wiki/BW-List
#bw_list = w * *
# Enable dangerous commands (e.g. die, reboot, config)
#chat_ctrl = False
# Enable/Disable plugins (you should only use one of the below not both)
# To use all plugins but a few, use the "disable" option
# To only use a list of specified plugins, use the "enable" option
#disable =
#enable = bookmark,general,library,note,room,xbmc
# Rename chat commands; duplicates are not allowed; format:
# hello:goodbye, audio:music, ...
# Note that if "goodbye" already exists and you don't rename it, it will be lost
#rename =
# If True, upon joining a room during bot startup, send a message listing errors
#tell_errors = True
# If not set, tell_errors in all rooms; else only tell in specified rooms,
# format is the same as for "rooms" config opt above
#tell_rooms =
# Only tell errors with at least this log level
# can be: critical, error, warning, info, debug
#tell_level = warning
################################################################################
# Email options
################################################################################
# Account login
#email.username =
#email.password =
# If set, only e-mails containing this string will be executed
#email.key =
# Delete messages after receiving them
#email.delete = True
# By default, these options use the part after "@" in email.address
# as their server and prepend either "imap" or "smtp"
#email.imap =
#email.smtp =
################################################################################
# Socket options
################################################################################
# Default port (note that on linux only root can use ports below 1024)
#socket.port = 8767
# If specified, clients must enter this password when connecting
#socket.password =
# If pubkey & privkey are set, connections will be created using SSL
# the first two are file paths; the last is used if the private key is encrypted
#socket.pubkey =
#socket.privkey =
#socket.key_password =
# If True, listen for connections from the internet instead of just localhost
#socket.internet = False
# Log raw message contents
# WARNING: passwords sent over socket will be logged
#socket.debug = False
################################################################################
# XMPP options
################################################################################
# Login info
#xmpp.username =
#xmpp.password =
# XMPP resource; default is the class name of the bot.
#xmpp.resource = SibylBot
# Server to connect to if different than in the JID given in "username"
#xmpp.server =
# Port to connect to the XMPP server.
#xmpp.port = 5222
# Only accept subscriptions from the specified domain; can be either "True" to
# use the domain specified by "username", a string specifying a domain, or
# "False" to accept all subscribe requests.
#xmpp.priv_domain = True
# Interval (seconds) to ping the server to check for disconnect. 0 means never
#xmpp.ping_freq = 60
# Timeout for pings. Only matters if "ping_freq" is greater than 0
#xmpp.ping_timeout = 3
# Print XMPPPY stanza debug info to the terminal
#xmpp.debug = False
################################################################################
# Matrix options
################################################################################
# username, password, homeserver
#matrix.username =
#matrix.password =
#matrix.server =
# Optional: log full Matrix events at DEBUG level
#matrix.debug = False
# Optional: Join rooms on invite
# "accept" to accept all invites, "reject" to ignore all invites,
# "domain" to only accept invites from users on the same HS
#matrix.join_on_invite = reject
################################################################################
# Plugin options
################################################################################
# File in which to store bookmarks; format is tab-delineated text file
#bookmark.file = data/bookmarks.txt
# When resuming a playlist, whether to always start with the next item rather
# than the bookmarked file itself
#bookmark.resume_next = False
# Max stack depth when executing aliases
#general.alias_depth = 10
# File for storing aliases
#general.alias_file = data/aliases.txt
# Use degrees instead of radians for trig functions in the calc cmd
#general.calc_degrees = True
# Display results from calc cmd in scientific notation
#general.calc_scientific = False
# If True, allow the use of the config chat command in rooms
#general.config_rooms = True
# Default number of lines to report in the log command
#general.log_lines = 10
# If True, include timestamps in log command responses
#general.log_time = True
# File in which to store library contents; format is python pickle
#library.file = data/library.pickle
# Maximum number of matches to reply with in chat when searching the library.
# A value of 0 means no limit. Note that some servers will kick the bot for
# sending very long replies.
#library.max_matches = 10
# Directories to search for audio and video files to add to the library.
# Format for regular directories: /path/to/dir1; /path/to/dir2
# Format for samba shares: server1,share1; server2,share2,username,password
# https://github.com/TheSchwa/sibyl/wiki/Library#specifying-library-search-paths
#library.audio_dirs =
#library.video_dirs =
# Translations for library paths if running Sibyl on a different box than Kodi
# Format: localpath1, remotepath1; localpath2, remotepath2
# https://github.com/TheSchwa/sibyl/wiki/Library#remote-kodi-instance
#library.remote =
# File in which to store notes; format is tab-delineated text file
#note.file = data/notes.txt
# Whether to respond to links with the page title
#room.link_echo = False
# Allow room chat commands to interact across protocols
# e.g. this allows you to join an XMPP room from the CLI
#room.cross_proto = True
# File in which to store triggers; format is tab-delineated text file
#room.trigger_file = data/triggers.txt
# Bridge rooms (i.e. bot echoes all messages between them)
# Format is: proto1:room1,proto2:room2; proto3:room3,proto4:room4
# Each bridge is separated by a semi-colon
# Within each bridge, rooms are separated by commas
# A room can only be in a single bridge
# Only rooms listed in the config option "rooms" can be used in bridges
#room.bridges =
# Allow unicode characters in user names when bridging
#room.unicode_users = True
# Get occupants from bridged rooms when broadcasting messages to all users
#room.bridge_broadcast = True
# IP address where the XBMC/Kodi/OSMC/etc. web interface is running
# Format is IP:PORT or just IP (port defaults to 80 if not specified)
# The default assumes XBMC is running on the same host as Sibyl
#xbmc.ip = 127.0.0.1:8080
# Username and password to use to access the web interface; default is None
#xbmc.username =
#xbmc.password =
# Default timeout for JSON requests (non-negative int)
# NOTE: audios & videos commands always use 60 to accommodate huge playlists
#xbmc.timeout = 15
################################################################################
# Logging options
################################################################################
# Log level can be: critical, error, warning, info, debug
#log_level = info
# File used for logging
#log_file = data/sibyl.log
# Log messages from other python modules
#log_requests = False
#log_urllib3 = False
# If False overwrite the log file on bot init, if True append to the log file
#log_append = True
# If True log a debug message every time a hook is run (excluding idle hooks)
#log_hooks = False
################################################################################
# Advanced options
################################################################################
# Directory to search for plugins; note the default uses relative paths
#cmd_dir = cmds
# Action to take when a chat command encounters an error
# If False, return a generic error msg; if True, return the exception name
#except_reply = True
# Require commands in a chat room to start with nick_name or cmd_prefix
#only_direct = True
# Minimum number of seconds to wait before trying to reconnect (increases exponentially)
#recon_min = 30
# Maximum number of seconds to wait before trying to reconnect
#recon_max = 300
# Messages to remember when a protocol disconnects and resend when reconnects
# or we get kicked from a room for whatever reason then rejoin
# positive is limit, 0 disables deferring, negative is infinite
#defer_total = 100
#defer_proto = 100
#defer_room = 10
#defer_priv = 10
# Whether to include the name of plugins in the "help" list
#help_plugin = False
# Catch ALL exceptions and log them without killing the bot. Should only be set
# to "False" for debugging purposes.
#catch_except = True
# If true, save/load state for plugins requesting variable persistence
#persistence = True
# File in which to save persistent variables
#state_file = data/state.pickle
# If True, kill stdout to disable libraries from printing to the console
# NOTE: the cli protocol will work regardless of this setting
#kill_stdout = True
# Ignore bw_list and allow every command for these protocols (comma-separated)
#admin_protos = cli
# How often to run @botidle hooks (exact timing not guaranteed)
#idle_freq = 1
# When to warn about @botidle hooks taking too long (non-negative float)
#idle_time = 0.1
# Number of consecutive warnings to delete a @botidle hook (non-negative int)
# Setting this to 0 disables (not deletes) all @botidle hooks
#idle_count = 5