parent
e05bc6e126
commit
90a5fd58e1
1 changed files with 5 additions and 4 deletions
|
@ -341,7 +341,7 @@ class Movies(Items):
|
||||||
WHERE idMovie = ?
|
WHERE idMovie = ?
|
||||||
'''
|
'''
|
||||||
kodicursor.execute(query, (title, plot, shortplot, tagline,
|
kodicursor.execute(query, (title, plot, shortplot, tagline,
|
||||||
votecount, rating_id, writer, year, imdb, sorttitle,
|
votecount, rating_id, writer, year, uniqueid, sorttitle,
|
||||||
runtime, mpaa, genre, director, title, studio, trailer,
|
runtime, mpaa, genre, director, title, studio, trailer,
|
||||||
country, playurl, pathid, fileid, year,
|
country, playurl, pathid, fileid, year,
|
||||||
userdata['UserRating'], movieid))
|
userdata['UserRating'], movieid))
|
||||||
|
@ -372,7 +372,8 @@ class Movies(Items):
|
||||||
rating,
|
rating,
|
||||||
votecount)
|
votecount)
|
||||||
# add new uniqueid Kodi 17
|
# add new uniqueid Kodi 17
|
||||||
self.kodi_db.add_uniqueid(self.kodi_db.create_entry_uniqueid(),
|
uniqueid = self.kodi_db.create_entry_uniqueid()
|
||||||
|
self.kodi_db.add_uniqueid(uniqueid,
|
||||||
movieid,
|
movieid,
|
||||||
v.KODI_TYPE_MOVIE,
|
v.KODI_TYPE_MOVIE,
|
||||||
imdb,
|
imdb,
|
||||||
|
@ -386,8 +387,8 @@ class Movies(Items):
|
||||||
'''
|
'''
|
||||||
kodicursor.execute(query, (movieid, fileid, title, plot,
|
kodicursor.execute(query, (movieid, fileid, title, plot,
|
||||||
shortplot, tagline, votecount, rating_id, writer, year,
|
shortplot, tagline, votecount, rating_id, writer, year,
|
||||||
imdb, sorttitle, runtime, mpaa, genre, director, title,
|
uniqueid, sorttitle, runtime, mpaa, genre, director,
|
||||||
studio, trailer, country, playurl, pathid, year,
|
title, studio, trailer, country, playurl, pathid, year,
|
||||||
userdata['UserRating']))
|
userdata['UserRating']))
|
||||||
else:
|
else:
|
||||||
query = '''
|
query = '''
|
||||||
|
|
Loading…
Reference in a new issue