Code optimization
This commit is contained in:
parent
f5198bf937
commit
7956639a0e
1 changed files with 1 additions and 2 deletions
|
@ -638,8 +638,7 @@ class TVShows(Items):
|
||||||
log.info("ADD tvshow itemid: %s - Title: %s" % (itemid, title))
|
log.info("ADD tvshow itemid: %s - Title: %s" % (itemid, title))
|
||||||
if v.KODIVERSION >= 17:
|
if v.KODIVERSION >= 17:
|
||||||
# add new ratings Kodi 17
|
# add new ratings Kodi 17
|
||||||
ratingid = self.kodi_db.create_entry_rating()
|
self.kodi_db.add_ratings(self.kodi_db.create_entry_rating(),
|
||||||
self.kodi_db.add_ratings(ratingid,
|
|
||||||
showid,
|
showid,
|
||||||
v.KODI_TYPE_SHOW,
|
v.KODI_TYPE_SHOW,
|
||||||
"default",
|
"default",
|
||||||
|
|
Loading…
Reference in a new issue