From 671bbbd9a9da97b0cce07473831d52aad89c9a8d Mon Sep 17 00:00:00 2001 From: croneter Date: Sat, 22 Jun 2019 18:34:12 +0200 Subject: [PATCH] Fix Trakt add-on not recognizing id of tv shows --- resources/lib/itemtypes/tvshows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/itemtypes/tvshows.py b/resources/lib/itemtypes/tvshows.py index 30a239bc..f2914e42 100644 --- a/resources/lib/itemtypes/tvshows.py +++ b/resources/lib/itemtypes/tvshows.py @@ -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,