Add check for season 0 as server now returns this

This commit is contained in:
xnappo 2015-10-12 13:45:23 -05:00
parent 32ad6cf684
commit 9970a770c4

View file

@ -627,7 +627,7 @@ class WriteKodiVideoDB():
path = "plugin://plugin.video.emby/tvshows/%s/" % seriesId
# Validate the season exists in Emby and in database
if season is None:
if season is None or season == 0:
self.logMsg("SKIP adding episode to Kodi Library, no season assigned - ID: %s - %s" % (embyId, title))
return False