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 23, 2023
1 parent f286e31 commit 455ebc8
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 @@ -267,6 +267,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 455ebc8

Please sign in to comment.