Revert "Reinstate airsbefore default value -1"

This reverts commit 1222d4d906.
This commit is contained in:
angelblue05 2016-08-26 04:49:14 -05:00
parent 1222d4d906
commit dbec225072

View file

@ -1277,8 +1277,8 @@ class TVShows(Items):
airsBeforeSeason = item['AirsAfterSeasonNumber']
airsBeforeEpisode = 4096 # Kodi default number for afterseason ordering
else:
airsBeforeSeason = item.get('AirsBeforeSeasonNumber', -1)
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber', -1)
airsBeforeSeason = item.get('AirsBeforeSeasonNumber')
airsBeforeEpisode = item.get('AirsBeforeEpisodeNumber')
# Append multi episodes to title
if item.get('IndexNumberEnd'):