Skip to content

Commit

Permalink
Just sync each media item to local db
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jul 7, 2024
1 parent 870ed72 commit 08ad4ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plextraktsync/sync/Sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 08ad4ea

Please sign in to comment.