mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Reinstate airsbefore default value -1
This commit is contained in:
parent
d5ee31e76e
commit
1222d4d906
1 changed files with 2 additions and 2 deletions
|
@ -1277,8 +1277,8 @@ class TVShows(Items):
|
||||||
airsBeforeSeason = item['AirsAfterSeasonNumber']
|
airsBeforeSeason = item['AirsAfterSeasonNumber']
|
||||||
airsBeforeEpisode = 4096 # Kodi default number for afterseason ordering
|
airsBeforeEpisode = 4096 # Kodi default number for afterseason ordering
|
||||||
else:
|
else:
|
||||||
airsBeforeSeason = item.get('AirsBeforeSeasonNumber')
|
airsBeforeSeason = item.get('AirsBeforeSeasonNumber', -1)
|
||||||
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber')
|
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber', -1)
|
||||||
|
|
||||||
# Append multi episodes to title
|
# Append multi episodes to title
|
||||||
if item.get('IndexNumberEnd'):
|
if item.get('IndexNumberEnd'):
|
||||||
|
|
Loading…
Reference in a new issue