mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
move classes to portable project
This commit is contained in:
@@ -793,7 +793,9 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
if (protocol == MediaProtocol.File)
|
||||
{
|
||||
if (_textEncoding.GetFileEncoding(path).Equals(Encoding.UTF8))
|
||||
var fileEncoding = _textEncoding.GetFileEncoding(path);
|
||||
|
||||
if (fileEncoding != null && fileEncoding.Equals(Encoding.UTF8))
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user