From 3ccc82f343ce623d5afa4d3e3fb189c2470473c4 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Tue, 5 Jul 2016 21:30:47 -0700 Subject: [PATCH] Add notification for user streaming from a new device --- .../default/notification_triggers_modal.html | 7 ++ data/interfaces/default/settings.html | 17 +++++ plexpy/activity_handler.py | 13 +++- plexpy/activity_processor.py | 11 +++ plexpy/config.py | 24 +++++- plexpy/datafactory.py | 17 ++++- plexpy/notification_handler.py | 75 ++++++++++++++++++- plexpy/notifiers.py | 67 ++++++++++++----- plexpy/webserve.py | 2 + 9 files changed, 207 insertions(+), 26 deletions(-) diff --git a/data/interfaces/default/notification_triggers_modal.html b/data/interfaces/default/notification_triggers_modal.html index aefb5595..d14c1e7b 100644 --- a/data/interfaces/default/notification_triggers_modal.html +++ b/data/interfaces/default/notification_triggers_modal.html @@ -64,6 +64,13 @@

Trigger notification when a user has concurrent streams.

+
+ +

Trigger notification when a user streams from a new device.

+