mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-04 09:22:09 +01:00
Remove PlayableStreamFileNames as unused
Since ffmpeg can play and transcode ISO files and BDMV folders directly, there's no use of that property.
This commit is contained in:
@@ -116,7 +116,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
streamFileNames = Array.Empty<string>();
|
||||
}
|
||||
|
||||
mediaInfoResult = await GetMediaInfo(item, streamFileNames, cancellationToken).ConfigureAwait(false);
|
||||
mediaInfoResult = await GetMediaInfo(item, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
}
|
||||
@@ -128,7 +128,6 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
|
||||
private Task<Model.MediaInfo.MediaInfo> GetMediaInfo(
|
||||
Video item,
|
||||
string[] streamFileNames,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
@@ -145,7 +144,6 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
return _mediaEncoder.GetMediaInfo(
|
||||
new MediaInfoRequest
|
||||
{
|
||||
PlayableStreamFileNames = streamFileNames,
|
||||
ExtractChapters = true,
|
||||
MediaType = DlnaProfileType.Video,
|
||||
MediaSource = new MediaSourceInfo
|
||||
|
||||
@@ -70,10 +70,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
{
|
||||
var protocol = item.PathProtocol ?? MediaProtocol.File;
|
||||
|
||||
var inputPath = MediaEncoderHelpers.GetInputArgument(
|
||||
_fileSystem,
|
||||
item.Path,
|
||||
item.GetPlayableStreamFileNames());
|
||||
var inputPath = item.Path;
|
||||
|
||||
var mediaStreams =
|
||||
item.GetMediaStreams();
|
||||
|
||||
Reference in New Issue
Block a user