mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-09 01:36:13 +00:00
start of kodi ratings
This commit is contained in:
parent
6a1b574631
commit
863919d696
3 changed files with 34 additions and 1 deletions
|
@ -309,6 +309,12 @@ class Movies(Items):
|
|||
total = round(float(runtime), 6)
|
||||
self.kodi_db.add_playstate(fileid, resume, total, playcount, dateplayed)
|
||||
|
||||
# update new ratings Kodi 17 - todo get ratingid for updates from embydb
|
||||
if self.kodi_version > 16:
|
||||
ratingid = self.kodi_db.create_entry_rating()
|
||||
|
||||
self.kodi_db.add_ratings(ratingid, movieid, "movie", "default", rating, votecount)
|
||||
|
||||
return True
|
||||
|
||||
def add_updateBoxset(self, boxset):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue