From 7e5dce1c14aae1b4829357897e46bc8718c3e124 Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Sun, 3 Jan 2016 23:49:58 -0800 Subject: [PATCH] Fix regression for grouped recently added metadata --- plexpy/notification_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 3bf22332..f5b907ec 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -453,7 +453,7 @@ def build_notify_text(session=None, timeline=None, state=None): progress_percent = helpers.get_percent(view_offset, duration) # Fix metadata params for notify recently added grandparent - if plexpy.CONFIG.NOTIFY_RECENTLY_ADDED_GRANDPARENT: + if state == 'created' and plexpy.CONFIG.NOTIFY_RECENTLY_ADDED_GRANDPARENT: show_name = metadata['title'] episode_name = '' artist_name = metadata['title']