mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-20 07:00:34 +00:00
Fixed uniqueID and ratingID issues (#95)
* Fixed uniqueID and ratingID issues * cleanup
This commit is contained in:
parent
21e7a9cada
commit
71da2bf777
4 changed files with 16 additions and 16 deletions
|
@ -243,13 +243,13 @@ class Movies(Items):
|
|||
if self.kodi_version >= 17:
|
||||
ratingid = self.kodi_db.get_ratingid(movieid)
|
||||
|
||||
self.kodi_db.update_ratings(movieid, "movie", "default", rating, votecount,ratingid)
|
||||
self.kodi_db.update_ratings(movieid, "movie", "default", rating, votecount, ratingid)
|
||||
|
||||
# update new uniqueid Kodi 17
|
||||
if self.kodi_version >= 17:
|
||||
uniqueid = self.kodi_db.get_uniqueid(movieid)
|
||||
|
||||
self.kodi_db.update_uniqueid(movieid, "movie", imdb, "imdb",uniqueid)
|
||||
self.kodi_db.update_uniqueid(movieid, "movie", imdb, "imdb", uniqueid)
|
||||
|
||||
# Update the movie entry
|
||||
if self.kodi_version >= 17:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue