Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/2410b3a3cfeff716740c0c6c15f1896a224771a9
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
2 deletions
@ -50,7 +50,8 @@ namespace Emby.Server.Implementations.Library
return null ;
}
var sortedStreams = GetSortedStreams ( streams , MediaStreamType . Subtitle , preferredLanguages )
var sortedStreams = streams
. Where ( i = > i . Type = = MediaStreamType . Subtitle )
. OrderByDescending ( x = > x . IsExternal )
. ThenByDescending ( x = > x . IsForced & & string . Equals ( x . Language , audioTrackLanguage , StringComparison . OrdinalIgnoreCase ) )
. ThenByDescending ( x = > x . IsForced )
@ -73,7 +74,8 @@ namespace Emby.Server.Implementations.Library
// if the audio language is not understood by the user, load their preferred subs, if there are any
if ( ! preferredLanguages . Contains ( audioTrackLanguage , StringComparer . OrdinalIgnoreCase ) )
{
stream = sortedStreams . FirstOrDefault ( s = > preferredLanguages . Contains ( s . Language , StringComparer . OrdinalIgnoreCase ) ) ;
stream = streams . FirstOrDefault ( s = > ! s . IsForced & & preferredLanguages . Contains ( s . Language , StringComparer . OrdinalIgnoreCase ) ) ? ?
streams . FirstOrDefault ( s = > preferredLanguages . Contains ( s . Language , StringComparer . OrdinalIgnoreCase ) ) ;
}
}
else if ( mode = = SubtitlePlaybackMode . Always )