diff --git a/plextraktsync/trakt/TraktApi.py b/plextraktsync/trakt/TraktApi.py index 78d543c736..51e698d2e4 100644 --- a/plextraktsync/trakt/TraktApi.py +++ b/plextraktsync/trakt/TraktApi.py @@ -217,8 +217,14 @@ def find_by_episode_guid(self, guid: PlexGuid): return None lookup = TraktLookup(ts) + te = self.find_episode_guid(guid, lookup) + if not te: + return None + + # NOTE: overwrites property of type str + te.show = ts - return self.find_episode_guid(guid, lookup) + return te def find_by_guid(self, guid: PlexGuid): if guid.type == "episode" and guid.is_episode: