diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index 6a9b341f..cf24ea8b 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -265,10 +265,10 @@ class GenericProvider: abd = True if seasonSearch: - for curString in self._get_season_search_strings(show, ep_obj.scene_season, ep_obj.scene_episode, abd=abd): + for curString in self._get_season_search_strings(show, ep_obj.scene_season, ep_obj.scene_episode if not abd else ep_obj._airdate, abd=abd): itemList += self._doSearch(curString) else: - for curString in self._get_episode_search_strings(show, ep_obj.scene_season, ep_obj.scene_episode, abd=abd): + for curString in self._get_episode_search_strings(show, ep_obj.scene_season, ep_obj.scene_episode if not abd else ep_obj._airdate, abd=abd): itemList += self._doSearch(curString, show=show) for item in itemList: