aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video/CleanDateTimeParser.cs
diff options
context:
space:
mode:
authorErik Rigtorp <erik@rigtorp.se>2020-05-03 21:29:52 -0700
committerErik Rigtorp <erik@rigtorp.se>2020-06-08 16:35:20 -0700
commit75efb8f52d4234bfdefa2a0ac48f7261aa9ef58b (patch)
treee8200db84c65577c7b87c6151afd5572d0d4fecd /Emby.Naming/Video/CleanDateTimeParser.cs
parent82ff3fa75d7da1d160ee5b774bd2238b5727d5ea (diff)
Use additional unicode chars for year extraction
Diffstat (limited to 'Emby.Naming/Video/CleanDateTimeParser.cs')
-rw-r--r--Emby.Naming/Video/CleanDateTimeParser.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Emby.Naming/Video/CleanDateTimeParser.cs b/Emby.Naming/Video/CleanDateTimeParser.cs
index 579c9e91e1..7c18ab039c 100644
--- a/Emby.Naming/Video/CleanDateTimeParser.cs
+++ b/Emby.Naming/Video/CleanDateTimeParser.cs
@@ -32,7 +32,6 @@ 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))