mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-07 16:56:13 +00:00
bring back jarvis compatibility
This commit is contained in:
parent
cb30feba46
commit
b572d60cd9
3 changed files with 12 additions and 12 deletions
|
@ -240,19 +240,19 @@ class Movies(Items):
|
|||
log.info("UPDATE movie itemid: %s - Title: %s", itemid, title)
|
||||
|
||||
# update new ratings Kodi 17
|
||||
if self.kodi_version > 16:
|
||||
if self.kodi_version >= 17:
|
||||
ratingid = self.kodi_db.get_ratingid(movieid)
|
||||
|
||||
self.kodi_db.update_ratings(movieid, "movie", "default", rating, votecount,ratingid)
|
||||
|
||||
# update new uniqueid Kodi 17
|
||||
if self.kodi_version > 16:
|
||||
if self.kodi_version >= 17:
|
||||
uniqueid = self.kodi_db.get_uniqueid(movieid)
|
||||
|
||||
self.kodi_db.update_uniqueid(movieid, "movie", imdb, "imdb",uniqueid)
|
||||
|
||||
# Update the movie entry
|
||||
if self.kodi_version > 16:
|
||||
if self.kodi_version >= 17:
|
||||
self.kodi_db.update_movie_17(title, plot, shortplot, tagline, votecount, uniqueid,
|
||||
writer, year, uniqueid, sorttitle, runtime, mpaa, genre,
|
||||
director, title, studio, trailer, country, year,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue