mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
Fix formating
This commit is contained in:
parent
27709c9bb3
commit
591fcf7ff2
|
@ -175,9 +175,11 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||||
}
|
}
|
||||||
|
|
||||||
var protocol = mediaSource.Protocol;
|
var protocol = mediaSource.Protocol;
|
||||||
if (subtitleStream.IsExternal) {
|
if (subtitleStream.IsExternal)
|
||||||
|
{
|
||||||
protocol = _mediaSourceManager.GetPathProtocol(subtitleStream.Path);
|
protocol = _mediaSourceManager.GetPathProtocol(subtitleStream.Path);
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileInfo = await GetReadableFile(mediaSource.Path, inputFiles, protocol, subtitleStream, cancellationToken).ConfigureAwait(false);
|
var fileInfo = await GetReadableFile(mediaSource.Path, inputFiles, protocol, subtitleStream, cancellationToken).ConfigureAwait(false);
|
||||||
|
|
||||||
var stream = await GetSubtitleStream(fileInfo.Path, fileInfo.Protocol, fileInfo.IsExternal, cancellationToken).ConfigureAwait(false);
|
var stream = await GetSubtitleStream(fileInfo.Path, fileInfo.Protocol, fileInfo.IsExternal, cancellationToken).ConfigureAwait(false);
|
||||||
|
|
Loading…
Reference in a new issue