mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03: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