aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-20 11:28:45 -0700
committercrobibero <cody@robibe.ro>2020-11-20 11:28:45 -0700
commitb0be434ba66fb600244d8574ddc84e7d94b1342a (patch)
treed3edb2fc804cdc67829f17c3f9c2d96865b1bad4
parentf512d5167dd317b5be24b5deb7ec7059a3d588ac (diff)
Revert unused change
-rw-r--r--Emby.Naming/Video/CleanDateTimeParser.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Naming/Video/CleanDateTimeParser.cs b/Emby.Naming/Video/CleanDateTimeParser.cs
index f2b538e6c..0ee633dcc 100644
--- a/Emby.Naming/Video/CleanDateTimeParser.cs
+++ b/Emby.Naming/Video/CleanDateTimeParser.cs
@@ -40,6 +40,7 @@ namespace Emby.Naming.Video
var match = expression.Match(name);
if (match.Success
+ && match.Groups.Count == 5
&& match.Groups[1].Success
&& match.Groups[2].Success
&& int.TryParse(match.Groups[2].Value, NumberStyles.Integer, CultureInfo.InvariantCulture, out var year))