diff options
| author | joey <jz.liu@outlook.com> | 2021-08-03 13:20:36 +0800 |
|---|---|---|
| committer | joey <jz.liu@outlook.com> | 2021-08-03 13:25:23 +0800 |
| commit | 0c9b64de4be633f2a4f47244996c8a25bbb0db45 (patch) | |
| tree | 1cd3465f3b67d9f486a2ac82ef0b2536a371b100 /Emby.Naming/Common/NamingOptions.cs | |
| parent | 0ee74b293d1f6fa1be63b8b4e5e2498a7f18298f (diff) | |
optimize episode parser
Diffstat (limited to 'Emby.Naming/Common/NamingOptions.cs')
| -rw-r--r-- | Emby.Naming/Common/NamingOptions.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs index 5f125eb4f..ed2b2bf70 100644 --- a/Emby.Naming/Common/NamingOptions.cs +++ b/Emby.Naming/Common/NamingOptions.cs @@ -250,6 +250,8 @@ namespace Emby.Naming.Common }, // <!-- foo.ep01, foo.EP_01 --> new EpisodeExpression(@"[\._ -]()[Ee][Pp]_?([0-9]+)([^\\/]*)$"), + // <!-- foo.E01., foo.e01. --> + new EpisodeExpression(@"[^\\/]*?()\.?[Ee]([0-9]+)\.([^\\/]*)$"), new EpisodeExpression("(?<year>[0-9]{4})[\\.-](?<month>[0-9]{2})[\\.-](?<day>[0-9]{2})", true) { DateTimeFormats = new[] |
