Merge pull request #903 from croneter/fix-uniqueid

Fix Trakt add-on not recognizing id of tv shows
This commit is contained in:
croneter 2019-06-22 18:44:48 +02:00 committed by GitHub
commit 6ee1a4b695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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