Omitting the parameter ExtraChapters

This commit is contained in:
Ulrich Wagner 2020-02-19 19:03:42 +01:00
parent f4d0fa8dc8
commit 3d9dc59554

View File

@ -2422,8 +2422,7 @@ namespace Emby.Server.Implementations.Library
var mediaInfo = _mediaEncoder.GetMediaInfo(new MediaInfoRequest
{
MediaSource = episode.GetMediaSources(false)[0],
MediaType = DlnaProfileType.Video,
ExtractChapters = false
MediaType = DlnaProfileType.Video
}, CancellationToken.None).GetAwaiter().GetResult();
if (mediaInfo.ParentIndexNumber > 0) {
episodeInfo.SeasonNumber = mediaInfo.ParentIndexNumber;