mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
fixed some typo errors
This commit is contained in:
parent
b617621097
commit
a8235061e1
1 changed files with 4 additions and 4 deletions
|
@ -261,7 +261,7 @@ class WriteKodiDB():
|
||||||
cursor.execute("select coalesce(max(idShow),0) as showid from tvshow")
|
cursor.execute("select coalesce(max(idShow),0) as showid from tvshow")
|
||||||
showid = cursor.fetchone()[0]
|
showid = cursor.fetchone()[0]
|
||||||
showid = pathid + 1
|
showid = pathid + 1
|
||||||
pathsql="insert into tvshow(idShow, c00, c01, c04, c05, c08, c09, c13, c14, c15, embyId) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
|
pathsql="insert into tvshow(idShow, c00, c01, c04, c05, c08, c09, c13, c14, c15, embyId) values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
|
||||||
cursor.execute(pathsql, (showid, title, plot, rating, premieredate, genre, title, mpaa, studio, sorttitle, MBitem["Id"]))
|
cursor.execute(pathsql, (showid, title, plot, rating, premieredate, genre, title, mpaa, studio, sorttitle, MBitem["Id"]))
|
||||||
|
|
||||||
#link the path
|
#link the path
|
||||||
|
@ -280,10 +280,10 @@ class WriteKodiDB():
|
||||||
self.AddPeopleToMedia(showid,MBitem.get("People"),"tvshow", connection, cursor)
|
self.AddPeopleToMedia(showid,MBitem.get("People"),"tvshow", connection, cursor)
|
||||||
|
|
||||||
#update genres
|
#update genres
|
||||||
self.AddGenresToMedia(movieid, genres, "tvshow", cursor)
|
self.AddGenresToMedia(showid, genres, "tvshow", cursor)
|
||||||
|
|
||||||
#update studios
|
#update studios
|
||||||
self.AddStudiosToMedia(movieid, studios, "tvshow", cursor)
|
self.AddStudiosToMedia(showid, studios, "tvshow", cursor)
|
||||||
|
|
||||||
#update artwork
|
#update artwork
|
||||||
self.addOrUpdateArt(API().getArtwork(MBitem, "Primary"), showid, "tvshow", "thumb", cursor)
|
self.addOrUpdateArt(API().getArtwork(MBitem, "Primary"), showid, "tvshow", "thumb", cursor)
|
||||||
|
@ -817,7 +817,7 @@ class WriteKodiDB():
|
||||||
|
|
||||||
else:
|
else:
|
||||||
idTag = None
|
idTag = None
|
||||||
cursor.execute("SELECT idTag as idTag FROM tag WHERE strTag = ?",(genre,))
|
cursor.execute("SELECT idTag as idTag FROM tag WHERE strTag = ?",(tag,))
|
||||||
result = cursor.fetchone()
|
result = cursor.fetchone()
|
||||||
if result != None:
|
if result != None:
|
||||||
idTag = result[0]
|
idTag = result[0]
|
||||||
|
|
Loading…
Reference in a new issue