diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-08-06 17:29:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-06 17:29:34 +0200 |
| commit | 971c2bc7de469ae5fec7ba4ae196ae8052e0acdf (patch) | |
| tree | d49644e17a3f9ab0398792cba7eaa63503210298 /Emby.Naming | |
| parent | 2521a13d7d8df3bfa5291386ba4389469f02ade8 (diff) | |
| parent | ef3b651aade1c17b5258ce4564640e974727bb3d (diff) | |
Merge pull request #6328 from Bond-009/epparser
Improve episode parser
Diffstat (limited to 'Emby.Naming')
| -rw-r--r-- | Emby.Naming/Common/NamingOptions.cs | 2 |
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 }, |
