Update itemtypes.py
This commit is contained in:
parent
80875a15ec
commit
5cebbcb763
1 changed files with 3 additions and 2 deletions
|
@ -251,6 +251,7 @@ class Movies(Items):
|
||||||
|
|
||||||
rating = userdata['Rating']
|
rating = userdata['Rating']
|
||||||
year = API.getYear()
|
year = API.getYear()
|
||||||
|
premieredate = API.getPremiereDate()
|
||||||
imdb = API.getProvider('imdb')
|
imdb = API.getProvider('imdb')
|
||||||
mpaa = API.getMpaa()
|
mpaa = API.getMpaa()
|
||||||
countries = API.getCountry()
|
countries = API.getCountry()
|
||||||
|
@ -350,7 +351,7 @@ class Movies(Items):
|
||||||
kodicursor.execute(query, (title, plot, shortplot, tagline,
|
kodicursor.execute(query, (title, plot, shortplot, tagline,
|
||||||
votecount, rating_id, writer, year, uniqueid, 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, premieredate,
|
||||||
userdata['UserRating'], movieid))
|
userdata['UserRating'], movieid))
|
||||||
else:
|
else:
|
||||||
query = '''
|
query = '''
|
||||||
|
@ -398,7 +399,7 @@ 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,
|
||||||
uniqueid, sorttitle, runtime, mpaa, genre, director,
|
uniqueid, sorttitle, runtime, mpaa, genre, director,
|
||||||
title, studio, trailer, country, playurl, pathid, year,
|
title, studio, trailer, country, playurl, pathid, premieredate,
|
||||||
userdata['UserRating']))
|
userdata['UserRating']))
|
||||||
else:
|
else:
|
||||||
query = '''
|
query = '''
|
||||||
|
|
Loading…
Reference in a new issue