fixed nullpointer on empty tv shows
This commit is contained in:
parent
b1aecb35ba
commit
e660c36dd3
1 changed files with 3 additions and 0 deletions
|
@ -422,6 +422,9 @@ class LibrarySync():
|
||||||
episodeData = ReadEmbyDB().getEpisodes(tvshow,True)
|
episodeData = ReadEmbyDB().getEpisodes(tvshow,True)
|
||||||
kodiEpisodes = ReadKodiDB().getKodiEpisodes(tvshow,True,True)
|
kodiEpisodes = ReadKodiDB().getKodiEpisodes(tvshow,True,True)
|
||||||
|
|
||||||
|
if episodeData == None:
|
||||||
|
return
|
||||||
|
|
||||||
if(self.ShouldStop(pDialog)):
|
if(self.ShouldStop(pDialog)):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue