Skip to content

Commit

Permalink
Save show object in trakt episode in find_by_episode_guid
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 8, 2024
1 parent 80696af commit 2e1f10e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plextraktsync/trakt/TraktApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2e1f10e

Please sign in to comment.