Skip to content

Commit

Permalink
Make walk_movie and walk_episode async
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Apr 16, 2024
1 parent 868676e commit 24b2bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plextraktsync/sync/plugin/SyncPluginInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def fini(self, walker: Walker, trakt_lists: TraktUserListCollection, dry_run: bo
"""Hook called at sync process finalization"""

@hookspec
def walk_movie(self, movie: Media, dry_run: bool):
async def walk_movie(self, movie: Media, dry_run: bool):
"""Hook called walk a movie media object"""

@hookspec
def walk_episode(self, episode: Media, dry_run: bool):
async def walk_episode(self, episode: Media, dry_run: bool):
"""Hook called walk a episode media object"""

0 comments on commit 24b2bc2

Please sign in to comment.