Fix playback of complex BluRay ISOs (#6166)

This commit is contained in:
Stan 2021-06-10 21:07:28 +03:00 committed by GitHub
parent d366fd3fd7
commit adf406b182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -367,7 +367,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
{
var prefix = "file";
if (mediaSource.VideoType == VideoType.BluRay)
if (mediaSource.VideoType == VideoType.BluRay
|| mediaSource.IsoType == IsoType.BluRay)
{
prefix = "bluray";
}

View File

@ -147,7 +147,8 @@ namespace MediaBrowser.Providers.MediaInfo
{
Path = path,
Protocol = protocol,
VideoType = item.VideoType
VideoType = item.VideoType,
IsoType = item.IsoType
}
},
cancellationToken);