From fd43cf5dd446ad11d36e498a4b4d5389d33d0783 Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Thu, 19 Nov 2015 19:40:50 -0800 Subject: [PATCH] Add setting to enable remote access monitoring --- .../default/notification_triggers_modal.html | 2 +- data/interfaces/default/settings.html | 10 +++- plexpy/activity_pinger.py | 58 ++++++++++--------- plexpy/config.py | 5 +- plexpy/notification_handler.py | 4 +- plexpy/webserve.py | 3 +- 6 files changed, 46 insertions(+), 36 deletions(-) diff --git a/data/interfaces/default/notification_triggers_modal.html b/data/interfaces/default/notification_triggers_modal.html index 8b752907..82971ac2 100644 --- a/data/interfaces/default/notification_triggers_modal.html +++ b/data/interfaces/default/notification_triggers_modal.html @@ -67,7 +67,7 @@ from plexpy import helpers

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

diff --git a/data/interfaces/default/settings.html b/data/interfaces/default/settings.html index 47cda611..2a4f45d1 100644 --- a/data/interfaces/default/settings.html +++ b/data/interfaces/default/settings.html @@ -403,6 +403,12 @@ available_notification_agents = sorted(notifiers.available_notification_agents()

Instead of polling the server at regular intervals let the server tell us when something happens. This is currently experimental. Encrypted websocket is not currently supported.

+
+ +

Enable to have PlexPy check if remote access to the Plex Media Server goes down. (Must have remote access set up in Plex.)

+

History Logging

@@ -659,7 +665,7 @@ available_notification_agents = sorted(notifiers.available_notification_agents()
  • - +