From dbec225072fb71971ea5a136b3a8b963156fa6b9 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 26 Aug 2016 04:49:14 -0500 Subject: [PATCH] Revert "Reinstate airsbefore default value -1" This reverts commit 1222d4d9067d3bcbf80634401f0890132063d412. --- resources/lib/itemtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 1ce7bfe2..51abdf3c 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -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'):