Skip to content

Commit

Permalink
Merge pull request #7418 from pymedusa/fix/anime-no-scene-season
Browse files Browse the repository at this point in the history
Fix missing episode numbers when anime doesn't have scene season
  • Loading branch information
p0psicles authored Nov 26, 2019
2 parents d431b3a + 9564dd0 commit 4cb77e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion medusa/name_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,10 @@ def _parse_string(self, name):
if new_absolute_numbers:
result.ab_episode_numbers = new_absolute_numbers

if new_season_numbers and new_episode_numbers:
if new_episode_numbers:
result.episode_numbers = new_episode_numbers

if new_season_numbers:
result.season_number = new_season_numbers[0]

# For anime that we still couldn't get a season, let's assume we should use 1.
Expand Down

0 comments on commit 4cb77e5

Please sign in to comment.