Fix regression for grouped recently added metadata

This commit is contained in:
Jonathan Wong 2016-01-03 23:49:58 -08:00
parent 8ba4bebe01
commit 7e5dce1c14

View file

@ -453,7 +453,7 @@ def build_notify_text(session=None, timeline=None, state=None):
progress_percent = helpers.get_percent(view_offset, duration) progress_percent = helpers.get_percent(view_offset, duration)
# Fix metadata params for notify recently added grandparent # 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'] show_name = metadata['title']
episode_name = '' episode_name = ''
artist_name = metadata['title'] artist_name = metadata['title']