mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Add check for season 0 as server now returns this
This commit is contained in:
parent
32ad6cf684
commit
9970a770c4
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ class WriteKodiVideoDB():
|
||||||
path = "plugin://plugin.video.emby/tvshows/%s/" % seriesId
|
path = "plugin://plugin.video.emby/tvshows/%s/" % seriesId
|
||||||
|
|
||||||
# Validate the season exists in Emby and in database
|
# 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))
|
self.logMsg("SKIP adding episode to Kodi Library, no season assigned - ID: %s - %s" % (embyId, title))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue