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

Optimize calculation of external audio stream index in MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/6898/head
Jonas Resch 3 years ago committed by GitHub
parent 120828d8d0
commit 99a48554a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2007,7 +2007,7 @@ namespace MediaBrowser.Controller.MediaEncoding
if (state.AudioStream.IsExternal)
{
int externalAudioMapIndex = state.SubtitleStream != null && state.SubtitleStream.IsExternal ? 2 : 1;
int externalAudioStream = state.MediaSource.MediaStreams.Where(i => i.Path == state.AudioStream.Path).ToList().IndexOf(state.AudioStream);
int externalAudioStream = state.MediaSource.MediaStreams.FindIndex(i => i.Path == state.AudioStream.Path);
args += string.Format(
CultureInfo.InvariantCulture,

Loading…
Cancel
Save