mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for shows that are air-by-date
This commit is contained in:
parent
5772de9eec
commit
0ae27fa6e6
@ -265,10 +265,10 @@ class GenericProvider:
|
|||||||
abd = True
|
abd = True
|
||||||
|
|
||||||
if seasonSearch:
|
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)
|
itemList += self._doSearch(curString)
|
||||||
else:
|
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)
|
itemList += self._doSearch(curString, show=show)
|
||||||
|
|
||||||
for item in itemList:
|
for item in itemList:
|
||||||
|
Loading…
Reference in New Issue
Block a user