mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-16 15:24:10 +01:00
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
This commit is contained in:
@@ -747,7 +747,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
}
|
||||
if (protocol == MediaProtocol.File)
|
||||
{
|
||||
return _fileSystem.ReadAllBytes(path);
|
||||
return File.ReadAllBytes(path);
|
||||
}
|
||||
|
||||
throw new ArgumentOutOfRangeException(nameof(protocol));
|
||||
|
||||
Reference in New Issue
Block a user