From 0df6aca752d2287d725dab430a1c2666fd04d37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 29 Apr 2023 13:25:46 +0300 Subject: [PATCH] Just sync each media item to local db --- plextraktsync/sync/Sync.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plextraktsync/sync/Sync.py b/plextraktsync/sync/Sync.py index a8373540cf..b47fa67fb4 100644 --- a/plextraktsync/sync/Sync.py +++ b/plextraktsync/sync/Sync.py @@ -49,9 +49,11 @@ async def sync(self, walker: Walker, dry_run=False): if self.config.need_library_walk: async for movie in walker.find_movies(): + self.sync_state.update(movie) await pm.ahook.walk_movie(movie=movie, dry_run=dry_run) async for episode in walker.find_episodes(): + self.sync_state.update(episode) await pm.ahook.walk_episode(episode=episode, dry_run=dry_run) await pm.ahook.fini(walker=walker, dry_run=dry_run)