Browse Source

Fix regex for movies released after 2019

Bond_009 5 years ago
parent
commit
801c356d66
1 changed files with 1 additions and 1 deletions
  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[]
             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[]
             CleanStrings = new[]