mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-14 03:30:25 +01:00
update legacy hdhomerun support
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user