Skip to content

Commit

Permalink
Skip episodes from Specials
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Dec 27, 2023
1 parent de5695b commit 367c1ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plextraktsync/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ def resolve_guid(self, guid: PlexGuid, show: Media = None):

try:
if show:
if guid.is_special:
logger.warning(f"Skipping Special: {guid.title_link}", extra={"markup": True})
return None

tm = self.trakt.find_episode_guid(guid, show.seasons)
else:
tm = self.trakt.find_by_guid(guid)
Expand Down

0 comments on commit 367c1ad

Please sign in to comment.