Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/fbeec04da725266ce7c4a57a7c598badb861b0fa
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
3 deletions
@ -56,9 +56,6 @@ namespace Emby.Server.Implementations.Library
}
else if ( mode = = SubtitlePlaybackMode . Smart )
{
// Respect forced flag.
stream = sortedStreams . FirstOrDefault ( x = > x . IsForced ) ;
// Only attempt to load subtitles if the audio language is not one of the user's preferred subtitle languages.
// If no subtitles of preferred language available, use default behaviour.
if ( ! preferredLanguages . Contains ( audioTrackLanguage , StringComparison . OrdinalIgnoreCase ) )
@ -66,6 +63,11 @@ namespace Emby.Server.Implementations.Library
stream = sortedStreams . FirstOrDefault ( x = > preferredLanguages . Contains ( x . Language , StringComparison . OrdinalIgnoreCase ) ) ? ?
sortedStreams . FirstOrDefault ( x = > x . IsExternal | | x . IsForced | | x . IsDefault ) ;
}
else
{
// Respect forced flag.
stream = sortedStreams . FirstOrDefault ( x = > x . IsForced ) ;
}
}
else if ( mode = = SubtitlePlaybackMode . Always )
{