From 223e2b2b323f5cc1ac5495637dfc39f086cde5a9 Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Tue, 17 Nov 2015 21:55:07 -0800 Subject: [PATCH] Add notification for Plex external port down --- .../default/notification_triggers_modal.html | 13 +++-- data/interfaces/default/settings.html | 43 ++++++++++++----- plexpy/config.py | 48 ++++++++++++------- plexpy/notification_handler.py | 46 ++++++++++++++---- plexpy/notifiers.py | 42 ++++++++++------ plexpy/webserve.py | 6 ++- 6 files changed, 142 insertions(+), 56 deletions(-) diff --git a/data/interfaces/default/notification_triggers_modal.html b/data/interfaces/default/notification_triggers_modal.html index f6da7604..8b752907 100644 --- a/data/interfaces/default/notification_triggers_modal.html +++ b/data/interfaces/default/notification_triggers_modal.html @@ -66,10 +66,17 @@ from plexpy import helpers
-

Trigger notification when the Plex Media Server cannot be reached.

+

Trigger notification when the Plex Media Server cannot be reached externally.

+
+
+ +

Trigger notification when the Plex Media Server cannot be reached internally.

diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 3d78c3e4..47cda611 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -538,7 +538,7 @@ available_notification_agents = sorted(notifiers.available_notification_agents()