From e660c36dd3f18f5662ffd01f9873e04306e9b8d9 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 25 Mar 2015 13:26:56 +0100 Subject: [PATCH] fixed nullpointer on empty tv shows --- resources/lib/LibrarySync.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/LibrarySync.py b/resources/lib/LibrarySync.py index 54a25062..78b432f7 100644 --- a/resources/lib/LibrarySync.py +++ b/resources/lib/LibrarySync.py @@ -422,6 +422,9 @@ class LibrarySync(): episodeData = ReadEmbyDB().getEpisodes(tvshow,True) kodiEpisodes = ReadKodiDB().getKodiEpisodes(tvshow,True,True) + if episodeData == None: + return + if(self.ShouldStop(pDialog)): return True