From 881b25a8d41a81050f788b74d70789fed50bd16e Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 26 Jul 2015 00:34:34 +0200 Subject: [PATCH] You can now toggle notifications per user from the users profile page. The PlexWatch importer will now also import those users into the PlexPy db. --- data/interfaces/default/edit_user.html | 14 +++- plexpy/__init__.py | 11 +++- plexpy/datafactory.py | 91 +++++++++++++------------- plexpy/notification_handler.py | 9 ++- plexpy/plexwatch_import.py | 18 +++++ plexpy/pmsconnect.py | 4 +- plexpy/webserve.py | 8 ++- 7 files changed, 101 insertions(+), 54 deletions(-) diff --git a/data/interfaces/default/edit_user.html b/data/interfaces/default/edit_user.html index 505afc2c..aafca93b 100644 --- a/data/interfaces/default/edit_user.html +++ b/data/interfaces/default/edit_user.html @@ -13,6 +13,7 @@ data :: Usable parameters user Return the real Plex username user_id Return the Plex user_id friendly_name Returns the friendly edited Plex username +do_notify Returns bool value for whether the user should trigger notifications DOCUMENTATION :: END @@ -29,6 +30,10 @@ DOCUMENTATION :: END

Replace all occurances of the username with this name.

+
+ Enable notifications +

Uncheck this if you do not want to receive notifications for this user's activity.

+