slack config options
This commit is contained in:
@@ -281,6 +281,22 @@ _CONFIG_DEFINITIONS = {
|
||||
'PUSHOVER_ON_INTUP': (int, 'Pushover', 0),
|
||||
'REFRESH_USERS_INTERVAL': (int, 'Monitoring', 12),
|
||||
'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1),
|
||||
'SLACK_ENABLED': (int, 'Slack', 0),
|
||||
'SLACK_HOOK': (str, 'Slack', ''),
|
||||
'SLACK_CHANNEL': (str, 'Slack', ''),
|
||||
'SLACK_ICON_EMOJI': (str, 'Slack', ''),
|
||||
'SLACK_USERNAME': (str, 'Slack', ''),
|
||||
'SLACK_ON_PLAY': (int, 'Slack', 0),
|
||||
'SLACK_ON_STOP': (int, 'Slack', 0),
|
||||
'SLACK_ON_PAUSE': (int, 'Slack', 0),
|
||||
'SLACK_ON_RESUME': (int, 'Slack', 0),
|
||||
'SLACK_ON_BUFFER': (int, 'Slack', 0),
|
||||
'SLACK_ON_WATCHED': (int, 'Slack', 0),
|
||||
'SLACK_ON_CREATED': (int, 'Slack', 0),
|
||||
'SLACK_ON_EXTDOWN': (int, 'Slack', 0),
|
||||
'SLACK_ON_INTDOWN': (int, 'Slack', 0),
|
||||
'SLACK_ON_EXTUP': (int, 'Slack', 0),
|
||||
'SLACK_ON_INTUP': (int, 'Slack', 0),
|
||||
'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''),
|
||||
'TELEGRAM_ENABLED': (int, 'Telegram', 0),
|
||||
'TELEGRAM_CHAT_ID': (str, 'Telegram', ''),
|
||||
@@ -448,4 +464,4 @@ class Config(object):
|
||||
if self.VIDEO_LOGGING_ENABLE == 0:
|
||||
self.MOVIE_LOGGING_ENABLE = 0
|
||||
self.TV_LOGGING_ENABLE = 0
|
||||
self.CONFIG_VERSION = '1'
|
||||
self.CONFIG_VERSION = '1'
|
||||
|
Reference in New Issue
Block a user