Skip to content

Commit

Permalink
Skip editions when adding movie to a list
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 14, 2024
1 parent 8520a2e commit 5a18ca9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plextraktsync/trakt/TraktUserListCollection.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def __init__(self):

def add_to_lists(self, m: Media):
for tl in self:
# Skip movie editions
# https://support.plex.tv/articles/multiple-editions/#:~:text=Do%20Multiple%20Editions%20work%20with%20watch%20state%20syncing%3F
if m.plex.edition_title is not None:
continue
tl.add(m)

def load_lists(self, liked_lists: list[TraktLikedList]):
Expand Down

0 comments on commit 5a18ca9

Please sign in to comment.