mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
fix for update path - takes 2 parameters
This commit is contained in:
parent
e77d5c7c53
commit
70182edf0e
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ class WriteKodiDB():
|
|||
# UPDATE THE EPISODE IN KODI (for now, we just send in all data)
|
||||
else:
|
||||
pathsql = "UPDATE episode SET c00 = ?, c01 = ?, c03 = ?, c04 = ?, c05 = ?, c09 = ?, c10 = ?, c12 = ?, c13 = ?, c14 = ?, c15 = ?, c16 = ?, embyId = ? WHERE idEpisode = ?"
|
||||
cursor.execute(pathsql, title, plot, rating, writer, premieredate, runtime, director, season, episode, title, MBitem["Id"], episodeid)
|
||||
cursor.execute(pathsql, (title, plot, rating, writer, premieredate, runtime, director, season, episode, title, "-1", "-1", MBitem["Id"], episodeid))
|
||||
|
||||
#update or insert actors
|
||||
self.AddPeopleToMedia(episodeid,MBitem.get("People"),"episode", connection, cursor)
|
||||
|
|
Loading…
Reference in a new issue