Add Plex server down notification threshold setting

This commit is contained in:
JonnyWong16 2021-04-03 11:34:53 -07:00
parent 802dfe10be
commit 7045597c61
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
6 changed files with 38 additions and 9 deletions

View file

@ -3167,6 +3167,7 @@ class WebInterface(object):
"notify_concurrent_threshold": plexpy.CONFIG.NOTIFY_CONCURRENT_THRESHOLD,
"notify_continued_session_threshold": plexpy.CONFIG.NOTIFY_CONTINUED_SESSION_THRESHOLD,
"notify_new_device_initial_only": checked(plexpy.CONFIG.NOTIFY_NEW_DEVICE_INITIAL_ONLY),
"notify_server_connection_threshold": plexpy.CONFIG.NOTIFY_SERVER_CONNECTION_THRESHOLD,
"home_sections": json.dumps(plexpy.CONFIG.HOME_SECTIONS),
"home_stats_cards": json.dumps(plexpy.CONFIG.HOME_STATS_CARDS),
"home_library_cards": json.dumps(plexpy.CONFIG.HOME_LIBRARY_CARDS),