mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix season name
This commit is contained in:
parent
dce980c4af
commit
2fa16ddffb
1 changed files with 4 additions and 2 deletions
|
@ -174,8 +174,10 @@ class KodiTVShows(KodiItems):
|
||||||
except TypeError:
|
except TypeError:
|
||||||
season_id = self._add_season(show_id, number)
|
season_id = self._add_season(show_id, number)
|
||||||
|
|
||||||
query = "UPDATE seasons SET name = ? WHERE idSeason = ?"
|
if name:
|
||||||
self.cursor.execute(query, (name, season_id))
|
|
||||||
|
query = "UPDATE seasons SET name = ? WHERE idSeason = ?"
|
||||||
|
self.cursor.execute(query, (name, season_id,))
|
||||||
|
|
||||||
return season_id
|
return season_id
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue