Przeglądaj źródła

Fix regex for movies released after 2019

Bond_009 5 lat temu
rodzic
commit
801c356d66
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Emby.Naming/Common/NamingOptions.cs

+ 1 - 1
Emby.Naming/Common/NamingOptions.cs

@@ -177,7 +177,7 @@ namespace Emby.Naming.Common
 
             CleanDateTimes = new[]
             {
-                @"(.+[^_\,\.\(\)\[\]\-])[_\.\(\)\[\]\-](19[0-9][0-9]|20[0-1][0-9])([ _\,\.\(\)\[\]\-][^0-9]|).*(19[0-9][0-9]|20[0-1][0-9])*"
+                @"(.+[^_\,\.\(\)\[\]\-])[_\.\(\)\[\]\-](\d{4})([ _\,\.\(\)\[\]\-][^\d]|).*(\d{4})*"
             };
 
             CleanStrings = new[]