diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index 6a23f767..d8b3b883 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -224,10 +224,10 @@ def show_listing(xml, plex_type=None, section_id=None, synched=True, key=None): # Initialization widgets.PLEX_TYPE = plex_type widgets.SYNCHED = synched - if plex_type == v.PLEX_TYPE_SHOW and key and 'onDeck' in key: + if plex_type == v.PLEX_TYPE_EPISODE and key and 'onDeck' in key: widgets.APPEND_SHOW_TITLE = utils.settings('OnDeckTvAppendShow') == 'true' widgets.APPEND_SXXEXX = utils.settings('OnDeckTvAppendSeason') == 'true' - if plex_type == v.PLEX_TYPE_SHOW and key and 'recentlyAdded' in key: + if plex_type == v.PLEX_TYPE_EPISODE and key and 'recentlyAdded' in key: widgets.APPEND_SHOW_TITLE = utils.settings('RecentTvAppendShow') == 'true' widgets.APPEND_SXXEXX = utils.settings('RecentTvAppendSeason') == 'true' if api.tag == 'Playlist':