mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Omitting the parameter ExtraChapters
This commit is contained in:
parent
f4d0fa8dc8
commit
3d9dc59554
@ -2422,8 +2422,7 @@ namespace Emby.Server.Implementations.Library
|
|||||||
var mediaInfo = _mediaEncoder.GetMediaInfo(new MediaInfoRequest
|
var mediaInfo = _mediaEncoder.GetMediaInfo(new MediaInfoRequest
|
||||||
{
|
{
|
||||||
MediaSource = episode.GetMediaSources(false)[0],
|
MediaSource = episode.GetMediaSources(false)[0],
|
||||||
MediaType = DlnaProfileType.Video,
|
MediaType = DlnaProfileType.Video
|
||||||
ExtractChapters = false
|
|
||||||
}, CancellationToken.None).GetAwaiter().GetResult();
|
}, CancellationToken.None).GetAwaiter().GetResult();
|
||||||
if (mediaInfo.ParentIndexNumber > 0) {
|
if (mediaInfo.ParentIndexNumber > 0) {
|
||||||
episodeInfo.SeasonNumber = mediaInfo.ParentIndexNumber;
|
episodeInfo.SeasonNumber = mediaInfo.ParentIndexNumber;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user