mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-03 23:36:38 +01:00
@@ -194,6 +194,11 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
info.ProductionYear = info.PremiereDate.Value.Year;
|
||||
}
|
||||
|
||||
if (data.Chapters is not null)
|
||||
{
|
||||
info.Chapters = data.Chapters.Select(GetChapterInfo).ToArray();
|
||||
}
|
||||
|
||||
// Set mediaType-specific metadata
|
||||
if (isAudio)
|
||||
{
|
||||
@@ -238,11 +243,6 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
|
||||
FetchWtvInfo(info, data);
|
||||
|
||||
if (data.Chapters is not null)
|
||||
{
|
||||
info.Chapters = data.Chapters.Select(GetChapterInfo).ToArray();
|
||||
}
|
||||
|
||||
ExtractTimestamp(info);
|
||||
|
||||
if (tags.TryGetValue("stereo_mode", out var stereoMode) && string.Equals(stereoMode, "left_right", StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user