aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-08-06 17:29:34 +0200
committerGitHub <noreply@github.com>2021-08-06 17:29:34 +0200
commit971c2bc7de469ae5fec7ba4ae196ae8052e0acdf (patch)
treed49644e17a3f9ab0398792cba7eaa63503210298 /Emby.Naming
parent2521a13d7d8df3bfa5291386ba4389469f02ade8 (diff)
parentef3b651aade1c17b5258ce4564640e974727bb3d (diff)
Merge pull request #6328 from Bond-009/epparser
Improve episode parser
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 5f125eb4f..915ce42cc 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -284,7 +284,7 @@ namespace Emby.Naming.Common
// Not a Kodi rule as well, but below rule also causes false positives for triple-digit episode names
// [bar] Foo - 1 [baz] special case of below expression to prevent false positives with digits in the series name
- new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>[\w\s]+?)[\s_]*-[\s_]*(?<epnumber>[0-9]+).*$")
+ new EpisodeExpression(@".*[\\\/]?.*?(\[.*?\])+.*?(?<seriesname>[-\w\s]+?)[\s_]*-[\s_]*(?<epnumber>[0-9]+).*$")
{
IsNamed = true
},