From 1003aa2df5ad632278c05339b5243ee1e2f63d1c Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 21 Mar 2020 18:34:04 -0700 Subject: [PATCH 1/7] Fix related children count --- plexpy/pmsconnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/pmsconnect.py b/plexpy/pmsconnect.py index d3f521ff..58cbe02a 100644 --- a/plexpy/pmsconnect.py +++ b/plexpy/pmsconnect.py @@ -2365,7 +2365,7 @@ class PmsConnect(object): } children_results_list[media_type].append(children_output) - output = {'results_count': sum(len(s) for s in children_results_list.items()), + output = {'results_count': sum(len(v) for k, v in children_results_list.items()), 'results_list': children_results_list, } From d5917f89f03d50c45af83fbac7e7a974fa0e2b33 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 23 Mar 2020 10:28:01 -0700 Subject: [PATCH 2/7] Fix notification grouping not enabled by default on new install --- plexpy/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/config.py b/plexpy/config.py index 93e93a76..c8675d21 100644 --- a/plexpy/config.py +++ b/plexpy/config.py @@ -340,7 +340,7 @@ _CONFIG_DEFINITIONS = { 'NOTIFY_CONSECUTIVE': (int, 'Monitoring', 1), 'NOTIFY_GROUP_RECENTLY_ADDED_GRANDPARENT': (int, 'Monitoring', 0), 'NOTIFY_GROUP_RECENTLY_ADDED_PARENT': (int, 'Monitoring', 1), - 'NOTIFY_GROUP_RECENTLY_ADDED': (int, 'Monitoring', 0), + 'NOTIFY_GROUP_RECENTLY_ADDED': (int, 'Monitoring', 1), 'NOTIFY_UPLOAD_POSTERS': (int, 'Monitoring', 0), 'NOTIFY_RECENTLY_ADDED': (int, 'Monitoring', 0), 'NOTIFY_RECENTLY_ADDED_DELAY': (int, 'Monitoring', 60), From d54794e85f5dc3b47468bc31a7e47ae7583b7f8d Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 23 Mar 2020 15:21:05 -0700 Subject: [PATCH 3/7] Add favicon to newsletter template --- data/interfaces/default/newsletter_preview.html | 3 +++ data/interfaces/newsletters/recently_added.html | 1 + data/interfaces/newsletters/recently_added.internal.html | 1 + 3 files changed, 5 insertions(+) diff --git a/data/interfaces/default/newsletter_preview.html b/data/interfaces/default/newsletter_preview.html index 22b2e13a..3d20987c 100644 --- a/data/interfaces/default/newsletter_preview.html +++ b/data/interfaces/default/newsletter_preview.html @@ -8,6 +8,9 @@ Tautulli - ${title} | ${server_name} + + +