Fix Trakt add-on not recognizing id of tv shows

This commit is contained in:
croneter 2019-06-22 18:34:12 +02:00
parent 0c4a7da5e7
commit 671bbbd9a9

View file

@ -200,7 +200,7 @@ class Show(TvShowMixin, ItemBase):
self.kodidb.update_uniqueid(kodi_id, self.kodidb.update_uniqueid(kodi_id,
v.KODI_TYPE_SHOW, v.KODI_TYPE_SHOW,
api.provider('tvdb'), api.provider('tvdb'),
"unknown", 'tvdb',
uniqueid) uniqueid)
else: else:
self.kodidb.remove_uniqueid(kodi_id, v.KODI_TYPE_SHOW) self.kodidb.remove_uniqueid(kodi_id, v.KODI_TYPE_SHOW)
@ -242,7 +242,7 @@ class Show(TvShowMixin, ItemBase):
kodi_id, kodi_id,
v.KODI_TYPE_SHOW, v.KODI_TYPE_SHOW,
api.provider('tvdb'), api.provider('tvdb'),
"unknown") 'tvdb')
else: else:
uniqueid = -1 uniqueid = -1
self.kodidb.add_people(kodi_id, self.kodidb.add_people(kodi_id,