Sfoglia il codice sorgente

Revert unused change

crobibero 4 anni fa
parent
commit
b0be434ba6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Emby.Naming/Video/CleanDateTimeParser.cs

+ 1 - 0
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))