update legacy hdhomerun support

This commit is contained in:
Luke Pulverenti
2017-03-05 21:32:56 -05:00
parent 00fb471162
commit 9e74d834a7
10 changed files with 90 additions and 82 deletions

View File

@@ -39,7 +39,15 @@ namespace Emby.Server.Core.Localization
}
}
return text.Normalize(form);
try
{
return text.Normalize(form);
}
catch (ArgumentException)
{
// if it still fails, return the original text
return text;
}
}
private static string StripInvalidUnicodeCharacters(string str)