Skip to content

Commit

Permalink
update trakt watched_movies list during scan
Browse files Browse the repository at this point in the history
  • Loading branch information
simonc56 committed Sep 7, 2021
1 parent 83ded35 commit 4b01dcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plex_trakt_sync/trakt_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def scrobbler(media: Union[Movie, TVEpisode]) -> ScrobblerProxy:
@time_limit()
def mark_watched(self, m, time):
m.mark_as_seen(time)
self.watched_movies.add(m.trakt)

def add_to_collection(self, m, pm: PlexLibraryItem):
if m.media_type == "movies":
Expand Down

0 comments on commit 4b01dcb

Please sign in to comment.