aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2022-05-15 20:23:59 -0400
committerJoshua Boniface <joshua@boniface.me>2022-05-20 23:49:38 -0400
commitf205661b180e2faf9e6e3efe5b9d1a3d5fd87d3b (patch)
treefecacceb0f1e5a0de78042e07eebd18aaaabe70f /Emby.Naming
parent8e9c02f4c61a4c73ad11f901e73df275d533d036 (diff)
Merge pull request #7741 from LewkyB/fix-improperly-labeled-four-digit-episode-numbering
Fix to allow for episode numbering over 999 in certain scenarios (cherry picked from commit 3ea67374aecdeab6f90b66fecdaf6ee4e510675d) Signed-off-by: Joshua Boniface <joshua@boniface.me>
Diffstat (limited to 'Emby.Naming')
-rw-r--r--Emby.Naming/Common/NamingOptions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs
index 71962f229..e016d7e51 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -314,7 +314,7 @@ namespace Emby.Naming.Common
// This isn't a Kodi naming rule, but the expression below causes false positives,
// so we make sure this one gets tested first.
// "Foo Bar 889"
- new EpisodeExpression(@".*[\\\/](?![Ee]pisode)(?<seriesname>[\w\s]+?)\s(?<epnumber>[0-9]{1,3})(-(?<endingepnumber>[0-9]{2,3}))*[^\\\/x]*$")
+ new EpisodeExpression(@".*[\\\/](?![Ee]pisode)(?<seriesname>[\w\s]+?)\s(?<epnumber>[0-9]{1,4})(-(?<endingepnumber>[0-9]{2,4}))*[^\\\/x]*$")
{
IsNamed = true
},