Skip to content

Commit

Permalink
Skip adding watched items
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed May 12, 2024
1 parent 9a03cf0 commit 8482e03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plextraktsync/trakt/TraktUserList.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ def add(self, m: Media):
# Already in the list
return

if not self.keep_watched and m.plex.is_watched:
# Skip adding watched items
return

self.logger.info(f"Adding {m.title_link} ({m.plex_key}) to Plex list {self.title_link}", extra={"markup": True})

# Report duplicates
Expand Down

0 comments on commit 8482e03

Please sign in to comment.