Fix AirsAfterSeason
This commit is contained in:
parent
903b44b56e
commit
39ac41647e
1 changed files with 6 additions and 2 deletions
|
@ -1504,6 +1504,10 @@ class TVShows(Items):
|
||||||
season = -1
|
season = -1
|
||||||
|
|
||||||
# Specials ordering within season
|
# Specials ordering within season
|
||||||
|
if item.get('AirsAfterSeasonNumber'):
|
||||||
|
airsBeforeSeason = item['AirsAfterSeasonNumber']
|
||||||
|
airsBeforeEpisode = 4096 # Kodi default number for afterseason ordering
|
||||||
|
else:
|
||||||
airsBeforeSeason = item.get('AirsBeforeSeasonNumber', "-1")
|
airsBeforeSeason = item.get('AirsBeforeSeasonNumber', "-1")
|
||||||
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber', "-1")
|
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber', "-1")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue