mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
fixed season check
This commit is contained in:
parent
0cb4d7fb25
commit
7c995a5a17
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ class WriteKodiVideoDB():
|
|||
if seasonData != None:
|
||||
for season in seasonData:
|
||||
seasonNum = season.get("IndexNumber")
|
||||
if seasonNum != None and seasonNum >= 0 and seasonNum <= 1000:
|
||||
if seasonNum != None and seasonNum >= 0:
|
||||
cursor.execute("SELECT idSeason as seasonid FROM seasons WHERE idShow = ? and season = ?",(kodiTvShowId, seasonNum))
|
||||
result = cursor.fetchone()
|
||||
if result == None:
|
||||
|
|
Loading…
Reference in a new issue