Simplify watchlist_sync_item, invert condition
MODIFY
plextraktsync/sync.py
plextraktsync/sync.py
@@ -250,7 +250,9 @@ def sync_watched(self, m: Media, dry_run=False):
m.mark_watched_plex()
def watchlist_sync_item(self, m: Media, dry_run=False):
- if self.sync_wl:
+ if not self.sync_wl:
+ return
+
if m.media_type == "movies":
trakt_wl = self.trakt_wl_movies
else:

Simplify watchlist_sync_item, invert condition