From 5cebbcb763f79bc567546a6dca527d5b63089171 Mon Sep 17 00:00:00 2001 From: dazedcrazy Date: Sat, 23 Sep 2017 14:56:26 +0100 Subject: [PATCH] Update itemtypes.py --- resources/lib/itemtypes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index 7261861f..8c01114d 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -251,6 +251,7 @@ class Movies(Items): rating = userdata['Rating'] year = API.getYear() + premieredate = API.getPremiereDate() imdb = API.getProvider('imdb') mpaa = API.getMpaa() countries = API.getCountry() @@ -350,7 +351,7 @@ class Movies(Items): kodicursor.execute(query, (title, plot, shortplot, tagline, votecount, rating_id, writer, year, uniqueid, sorttitle, runtime, mpaa, genre, director, title, studio, trailer, - country, playurl, pathid, fileid, year, + country, playurl, pathid, fileid, premieredate, userdata['UserRating'], movieid)) else: query = ''' @@ -398,7 +399,7 @@ class Movies(Items): kodicursor.execute(query, (movieid, fileid, title, plot, shortplot, tagline, votecount, rating_id, writer, year, uniqueid, sorttitle, runtime, mpaa, genre, director, - title, studio, trailer, country, playurl, pathid, year, + title, studio, trailer, country, playurl, pathid, premieredate, userdata['UserRating'])) else: query = '''