From dd749dde5f4110da0d2b506ca197fe75cdc01386 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sat, 9 Nov 2019 20:26:56 +0100 Subject: [PATCH] Add comment --- Emby.Naming/Common/NamingOptions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs index bb214e9f2..d37be0e63 100644 --- a/Emby.Naming/Common/NamingOptions.cs +++ b/Emby.Naming/Common/NamingOptions.cs @@ -311,6 +311,8 @@ 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)(?(\w+\s*?)*)\s(?\d{1,3})(-(?\d{2,3}))*[^\\\/]*$") {