From 9970a770c472f27705f58ceae8958aebf0c7c086 Mon Sep 17 00:00:00 2001 From: xnappo Date: Mon, 12 Oct 2015 13:45:23 -0500 Subject: [PATCH] Add check for season 0 as server now returns this --- resources/lib/WriteKodiVideoDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py index ff9f8323..3b323085 100644 --- a/resources/lib/WriteKodiVideoDB.py +++ b/resources/lib/WriteKodiVideoDB.py @@ -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