diff options
| author | Petr Janda <petr.janda@holidaysinhell.com> | 2019-12-07 20:21:24 +1030 |
|---|---|---|
| committer | Petr Janda <petr.janda@holidaysinhell.com> | 2019-12-07 20:21:24 +1030 |
| commit | 1cec41baf831ba74f23dd0ce0de8ebadefadc78e (patch) | |
| tree | 0480ddfdad1e49531a3cd9a786a586a5f9ec6395 /Emby.Naming/Common/NamingOptions.cs | |
| parent | 408cf017a44748f7085af7e5ffa0ca1c46f0ba19 (diff) | |
| parent | 6f283d80dc00fe63b59dfb7a134528f295615da7 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'Emby.Naming/Common/NamingOptions.cs')
| -rw-r--r-- | Emby.Naming/Common/NamingOptions.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs index d37be0e63..4c2c43437 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>\d{1,3})(-(?<endingepnumber>\d{2,3}))*[^\\\/]*$") + new EpisodeExpression(@".*[\\\/](?![Ee]pisode)(?<seriesname>[\w\s]+?)\s(?<epnumber>\d{1,3})(-(?<endingepnumber>\d{2,3}))*[^\\\/]*$") { IsNamed = true }, @@ -337,7 +337,7 @@ namespace Emby.Naming.Common // *** End Kodi Standard Naming // [bar] Foo - 1 [baz] - new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>(\w+\s*?)+?)[-\s_]+(?<epnumber>\d+).*$") + new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>[\w\s]+?)[-\s_]+(?<epnumber>\d+).*$") { IsNamed = true }, |
