Merge pull request #941 from croneter/fix-ondeck

Fix On Deck and Recently Added Episodes for shows not appending showname and season and episode number
This commit is contained in:
croneter 2019-07-27 12:31:17 +02:00 committed by GitHub
commit 3cdec739a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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':