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 Jun 11, 2024
1 parent 34326a9 commit 0ad29b4
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 @@ -100,6 +100,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},
Expand Down

0 comments on commit 0ad29b4

Please sign in to comment.