Skip to content

Commit

Permalink
fixup! Add walk movie/episode hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Apr 8, 2024
1 parent b155bf3 commit 392d85e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plextraktsync/sync/Sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def sync(self, walker: Walker, dry_run=False):

if movie_trakt_ids:
self.clear_collected(self.trakt.movie_collection, movie_trakt_ids)
pm.hook.fini(dry_run=dry_run)

shows = set()
episode_trakt_ids = set()
Expand Down Expand Up @@ -117,6 +116,8 @@ def sync(self, walker: Walker, dry_run=False):
with measure_time("Updated watchlist"):
self.sync_watchlist(walker, dry_run=dry_run)

pm.hook.fini(dry_run=dry_run)

def sync_collection(self, m: Media, dry_run=False):
if not self.config.plex_to_trakt["collection"]:
return
Expand Down

0 comments on commit 392d85e

Please sign in to comment.