mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-07 10:14:14 -04:00
Merge pull request #3521 from sachk/master
Fix support for mixed-protocol subtitles (cherry picked from commit 323fc576a554e80c2b6f4987dcb94a79f3ebed11) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
c8539709ac
commit
2fd902f1b2
@ -172,7 +172,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
inputFiles = new[] { mediaSource.Path };
|
||||
}
|
||||
|
||||
var fileInfo = await GetReadableFile(mediaSource.Path, inputFiles, mediaSource.Protocol, subtitleStream, cancellationToken).ConfigureAwait(false);
|
||||
var fileInfo = await GetReadableFile(mediaSource.Path, inputFiles, _mediaSourceManager.GetPathProtocol(subtitleStream.Path), subtitleStream, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
var stream = await GetSubtitleStream(fileInfo.Path, fileInfo.Protocol, fileInfo.IsExternal, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user