mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-05 17:05:03 -05:00
When no absolute episode number retrieved, fall backto the scene_episode. Else search will be done for episode: 00
This commit is contained in:
parent
8b678445cc
commit
4b1b3c6488
@ -190,7 +190,7 @@ def makeSceneSearchString(show, ep_obj):
|
||||
if (show.air_by_date or show.sports) and ep_obj.airdate != datetime.date.fromordinal(1):
|
||||
epStrings = [str(ep_obj.airdate)]
|
||||
elif show.is_anime:
|
||||
epStrings = ["%02i" % int(ep_obj.scene_absolute_number)]
|
||||
epStrings = ["%02i" % int(ep_obj.scene_absolute_number if ep_obj.scene_absolute_number > 0 else ep_obj.scene_episode)]
|
||||
else:
|
||||
epStrings = ["S%02iE%02i" % (int(ep_obj.scene_season), int(ep_obj.scene_episode)),
|
||||
"%ix%02i" % (int(ep_obj.scene_season), int(ep_obj.scene_episode))]
|
||||
|
Loading…
Reference in New Issue
Block a user