From f75fca12c8f3866246c96f8173f611458b7c68dd Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 28 Oct 2015 07:30:41 -0400 Subject: [PATCH] telegram updates to config.py --- plexpy/config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plexpy/config.py b/plexpy/config.py index 99f68c2c..88346b9a 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -218,6 +218,16 @@ _CONFIG_DEFINITIONS = { 'PUSHOVER_ON_CREATED': (int, 'Pushover', 0), 'REFRESH_USERS_INTERVAL': (int, 'Monitoring', 12), 'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1), + 'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''), + 'TELEGRAM_ENABLED': (int, 'Telegram', 0), + 'TELEGRAM_CHAT_ID': (int, 'Telegram', 0), + 'TELEGRAM_ON_PLAY': (int, 'Telegram', 0), + 'TELEGRAM_ON_STOP': (int, 'Telegram', 0), + 'TELEGRAM_ON_PAUSE': (int, 'Telegram', 0), + 'TELEGRAM_ON_RESUME': (int, 'Telegram', 0), + 'TELEGRAM_ON_BUFFER': (int, 'Telegram', 0), + 'TELEGRAM_ON_WATCHED': (int, 'Telegram', 0), + 'TELEGRAM_ON_CREATED': (int, 'Telegram', 0), 'TV_NOTIFY_ENABLE': (int, 'Monitoring', 0), 'TV_NOTIFY_ON_START': (int, 'Monitoring', 1), 'TV_NOTIFY_ON_STOP': (int, 'Monitoring', 0),