Skip to content

Commit

Permalink
fix: also ignore volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Nov 1, 2024
1 parent 84aa8cd commit 4fbb809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/Utils/Text.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ private static TitleProvider[] GetOrderedTitleProvidersByType(TitleProviderType
return null;
}

[GeneratedRegex(@"^(?:Special|Episode)\s+\d+$|^Part \d+ of \d+$|^(?:OVA|OAD|Movie|Complete Movie|Short Movie|TV Special|Music Video|Web)$", RegexOptions.IgnoreCase | RegexOptions.Compiled, "en-US")]
[GeneratedRegex(@"^(?:Special|Episode) \d+$|^Part \d+ of \d+$|^Volume \d$|^(?:OVA|OAD|Movie|Complete Movie|Short Movie|TV Special|Music Video|Web|Volume)$", RegexOptions.IgnoreCase | RegexOptions.Compiled, "en-US")]
private static partial Regex EpisodeNameRegex();

/// <summary>
Expand Down

0 comments on commit 4fbb809

Please sign in to comment.