aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-02-22 00:17:37 +0900
committerGitHub <noreply@github.com>2020-02-22 00:17:37 +0900
commit4355b453d4f3c565d43d51b34d62dcb9cc487075 (patch)
treedfabcc5a8b1570fe20c25c6444307a388021c448 /Emby.Naming
parent61015c1d0f1e3c8521f3cd107fb979eb1b47b008 (diff)
parent7df6d4e7a09faf54fb7b907fd40fed2eb354f813 (diff)
Merge pull request #2429 from Bond-009/episode
Fix episode parsing
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 1554e61d83..b4f22ed696 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -277,7 +277,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>\d{1,3})(-(?<endingepnumber>\d{2,3}))*[^\\\/]*$")
+ new EpisodeExpression(@".*[\\\/](?![Ee]pisode)(?<seriesname>[\w\s]+?)\s(?<epnumber>\d{1,3})(-(?<endingepnumber>\d{2,3}))*[^\\\/x]*$")
{
IsNamed = true
},