Search from shows first
Because searching from movie library id of episode gives also response.
MODIFY
plextraktsync/walker.py
plextraktsync/walker.py
@@ -91,14 +91,14 @@ def find_by_id(self, movie_sections, show_sections):
movies = []
shows = []
for id in self.config.id:
- movie = self.find_from_sections_by_id(movie_sections, id) if self.config.walk_movies else []
- if movie:
- movies.extend(movie)
- continue
show = self.find_from_sections_by_id(show_sections, id) if self.config.walk_shows else []
if show:
shows.extend(show)
continue
+ movie = self.find_from_sections_by_id(movie_sections, id) if self.config.walk_movies else []
+ if movie:
+ movies.extend(movie)
+ continue
raise RuntimeError(f"Id '{id}' not found")
return [movies, shows]

Search from shows first

Because searching from movie library id of episode gives also response.