diff --git a/plextraktsync/plex/PlexLibraryItem.py b/plextraktsync/plex/PlexLibraryItem.py index 06d0761321..3d73115639 100644 --- a/plextraktsync/plex/PlexLibraryItem.py +++ b/plextraktsync/plex/PlexLibraryItem.py @@ -283,8 +283,13 @@ def episodes(self): @retry() def _get_episodes(self): - show_id = self.item.parentRatingKey if self.type == "season" else self.item.ratingKey - return self.library.search(libtype='episode', filters={'show.id': show_id}) + if self.type == "season": + show_id = self.item.parentRatingKey + season = self.item.seasonNumber + + return self.library.search(libtype='episode', filters={'show.id': show_id, 'season.index': season}) + + return self.library.search(libtype='episode', filters={'show.id': self.item.ratingKey}) @cached_property def season_number(self):