Use watched_before_reset property
MODIFY
plextraktsync/media.py
plextraktsync/media.py
@@ -151,7 +151,7 @@ def mark_watched_trakt(self, dry_run):
logger.info(f"Marking as watched in Trakt: {self}")
self.trakt_api.mark_watched(self.trakt, self.plex.seen_date)
elif self.is_episode:
- if self.show_reset_at and self.plex.seen_date.replace(tzinfo=None) < self.show_reset_at:
+ if self.watched_before_reset:
if not dry_run:
logger.info(f"Show {self.plex.item.show().title} has been reset in trakt at {self.show_reset_at}.")
logger.info(f"Marking {self.plex.item.show().title} as unwatched in Plex.")

Use watched_before_reset property