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 Apr 13, 2024
1 parent 56387bd commit 455cade
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plextraktsync/media/MediaFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def resolve_guid(self, guid: PlexGuid, show: Media = None):

try:
if show:
if guid.is_special:
self.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 455cade

Please sign in to comment.