mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #89 from sualfred/develop
Fixed wrong episode uniqueids in the UNIQUEID and RATING table.
This commit is contained in:
commit
7a9bbcc708
1 changed files with 2 additions and 2 deletions
|
@ -648,13 +648,13 @@ class TVShows(Items):
|
|||
if self.kodi_version >= 17:
|
||||
ratingid = self.kodi_db.create_entry_rating()
|
||||
|
||||
self.kodi_db.add_ratings(ratingid, showid, "episode", "default", rating, votecount)
|
||||
self.kodi_db.add_ratings(ratingid, episodeid, "episode", "default", rating, votecount)
|
||||
|
||||
# add new uniqueid Kodi 17
|
||||
if self.kodi_version >= 17:
|
||||
uniqueid = self.kodi_db.create_entry_uniqueid()
|
||||
|
||||
self.kodi_db.add_uniqueid(uniqueid, showid, "episode", tvdb, "tvdb")
|
||||
self.kodi_db.add_uniqueid(uniqueid, episodeid, "episode", tvdb, "tvdb")
|
||||
|
||||
# Add path
|
||||
pathid = self.kodi_db.add_path(path)
|
||||
|
|
Loading…
Reference in a new issue