diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-07-20 00:25:30 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-07-20 00:25:30 +0200 |
| commit | ef3b651aade1c17b5258ce4564640e974727bb3d (patch) | |
| tree | efe962c86a2a4cb0e24db8daf66509b2be27bbc4 /Emby.Naming | |
| parent | 7d9a1269f16913fafa4f7dd7adf72332dbdd93b1 (diff) | |
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 }, |
