From 9b98ee9ec3bdd4efb0e69aa6e4eb6a1098a50e03 Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 27 Jul 2019 12:08:42 +0200 Subject: [PATCH] Fix On Deck for shows not appending showname and season and episode number --- resources/lib/entrypoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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':