Merge pull request #903 from croneter/fix-uniqueid
Fix Trakt add-on not recognizing id of tv shows
This commit is contained in:
commit
6ee1a4b695
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue