Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/ac83effd44fe38a8fa4a6fb6df483fa88cfaa7a9 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Match external sub/audio stream adding logic

pull/7440/head
Joe Rogers 3 years ago
parent 388e0cba9f
commit ac83effd44
No known key found for this signature in database
GPG Key ID: 0074AD57B8FDBBB4

@ -594,7 +594,7 @@ namespace MediaBrowser.Providers.MediaInfo
}
}
video.SubtitleFiles = externalSubtitleStreams.Select(i => i.Path).ToArray();
video.SubtitleFiles = externalSubtitleStreams.Select(i => i.Path).Distinct().ToArray();
currentStreams.AddRange(externalSubtitleStreams);
}
@ -615,10 +615,9 @@ namespace MediaBrowser.Providers.MediaInfo
var startIndex = currentStreams.Count == 0 ? 0 : currentStreams.Max(i => i.Index) + 1;
var externalAudioStreams = await _audioResolver.GetExternalStreamsAsync(video, startIndex, options.DirectoryService, false, cancellationToken).ConfigureAwait(false);
currentStreams = currentStreams.Concat(externalAudioStreams).ToList();
video.AudioFiles = externalAudioStreams.Select(i => i.Path).Distinct().ToArray();
// Select all external audio file paths
video.AudioFiles = currentStreams.Where(i => i.Type == MediaStreamType.Audio && i.IsExternal).Select(i => i.Path).Distinct().ToArray();
currentStreams.AddRange(externalAudioStreams);
}
/// <summary>

Loading…
Cancel
Save