Private GIT

Skip to content
Snippets Groups Projects
Commit 229e7f02 authored by miigotu's avatar miigotu
Browse files

Make bare have preference over no-season

parent 28262fab
Branches
No related tags found
No related merge requests found
...@@ -185,6 +185,16 @@ normal_regexes = [ ...@@ -185,6 +185,16 @@ normal_regexes = [
''' '''
), ),
('bare',
# Show.Name.102.Source.Quality.Etc-Group
r'''
^(?P<series_name>.+?)[. _-]+ # Show_Name and separator
(?P<season_num>\d{1,2}) # 1
(?P<ep_num>\d{2}) # 02 and separator
([. _-]+(?P<extra_info>(?!\d{3}[. _-]+)[^-]+) # Source_Quality_Etc-
(-(?P<release_group>[^- ]+([. _-]\[.*\])?))?)?$ # Group
'''),
('no_season', ('no_season',
# Show Name - 01 - Ep Name # Show Name - 01 - Ep Name
# 01 - Ep Name # 01 - Ep Name
...@@ -199,16 +209,6 @@ normal_regexes = [ ...@@ -199,16 +209,6 @@ normal_regexes = [
-(?P<release_group>[^- ]+([. _-]\[.*\])?))?)?$ # Group -(?P<release_group>[^- ]+([. _-]\[.*\])?))?)?$ # Group
''' '''
), ),
('bare',
# Show.Name.102.Source.Quality.Etc-Group
r'''
^(?P<series_name>.+?)[. _-]+ # Show_Name and separator
(?P<season_num>\d{1,2}) # 1
(?P<ep_num>\d{2}) # 02 and separator
([. _-]+(?P<extra_info>(?!\d{3}[. _-]+)[^-]+) # Source_Quality_Etc-
(-(?P<release_group>[^- ]+([. _-]\[.*\])?))?)?$ # Group
'''),
] ]
anime_regexes = [ anime_regexes = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment