diff --git a/Jellyfin.Plugin.AniDB/Providers/equals_check.cs b/Jellyfin.Plugin.AniDB/Providers/equals_check.cs index a8270dd..7948eed 100644 --- a/Jellyfin.Plugin.AniDB/Providers/equals_check.cs +++ b/Jellyfin.Plugin.AniDB/Providers/equals_check.cs @@ -88,6 +88,7 @@ namespace Jellyfin.Plugin.AniDB.Providers a = a.Replace("wo", "w?o", StringComparison.OrdinalIgnoreCase); a = a.Replace("c", "(c|k)", StringComparison.OrdinalIgnoreCase); a = a.Replace("k", "(c|k)", StringComparison.OrdinalIgnoreCase); + a = a.Replace("n", "n`?", StringComparison.OrdinalIgnoreCase); a = a.Replace("&", "(&|(and))", StringComparison.OrdinalIgnoreCase); a = a.Replace("and", "(&|(and))", StringComparison.OrdinalIgnoreCase); @@ -166,7 +167,7 @@ namespace Jellyfin.Plugin.AniDB.Providers string xml = File.ReadAllText(GetAnidbXml()); int lowestDistance = Plugin.Instance.Configuration.TitleSimilarityThreshold; string currentId = ""; - + foreach (string id in results) { string nameXmlFromId = OneLineRegex(new Regex(@"", RegexOptions.Compiled), xml);