Use resolve_any method
MODIFY
plex_trakt_sync/commands/webhook.py
plex_trakt_sync/commands/webhook.py
@@ -39,7 +39,7 @@ def find_media(self, rating_key: int):
if not plex:
return None
- media = self.mf.resolve(plex)
+ media = self.mf.resolve_any(plex)
if not media:
return None

MODIFY
plex_trakt_sync/walker.py
plex_trakt_sync/walker.py
@@ -65,7 +65,7 @@ def find_movies(self):
movies = self.media_from_sections(self.plex.movie_sections(), self.library)
for plex in movies:
- movie = self.mf.resolve(plex)
+ movie = self.mf.resolve_any(plex)
if not movie:
continue
yield movie
@@ -80,7 +80,7 @@ def find_episodes(self):
shows = self.media_from_sections(self.plex.show_sections(), self.library)
for plex in shows:
- show = self.mf.resolve(plex)
+ show = self.mf.resolve_any(plex)
if not show:
continue
yield from self.episode_from_show(show)

Use resolve_any method