Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/2ebcbdece8ad941e3a4d95000c1071c1e1ad81ab
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
4 additions and
10 deletions
@ -105,11 +105,10 @@ namespace Emby.Server.Implementations.Library
return inputItems
. Cast < Audio > ( )
. Select ( i = > new Tuple < Audio , int > ( i , i . Genres . Count ( genresDictionary . ContainsKey ) ) )
. Where ( i = > i . Item2 > 0 )
. OrderByDescending ( i = > i . Item2 )
. ThenBy ( i = > Guid . NewGuid ( ) )
. Select ( i = > i . Item1 )
. Take ( 1 00)
. Take ( 2 00)
. OrderBy ( i = > Guid . NewGuid ( ) ) ;
}
@ -404,13 +404,6 @@ namespace MediaBrowser.Api.UserLibrary
/// <param name="request">The request.</param>
/// <returns>System.Object.</returns>
public object Get ( GetLocalTrailers request )
{
var result = GetAsync ( request ) ;
return ToOptimizedSerializedResultUsingCache ( result ) ;
}
private List < BaseItemDto > GetAsync ( GetLocalTrailers request )
{
var user = _userManager . GetUserById ( request . UserId ) ;
@ -430,7 +423,7 @@ namespace MediaBrowser.Api.UserLibrary
. Select ( _libraryManager . GetItemById )
. Select ( i = > _dtoService . GetBaseItemDto ( i , dtoOptions , user , item ) ) ;
return dtos. ToList ( ) ;
return ToOptimizedSerializedResultUsingCache( dtos ) ;
}
/// <summary>
@ -47,6 +47,8 @@ namespace MediaBrowser.MediaEncoding.Probing
info . MediaStreams = internalStreams . Select ( s = > GetMediaStream ( isAudio , s , data . format ) )
. Where ( i = > i ! = null )
// Drop subtitle streams if we don't know the codec because it will just cause failures if we don't know how to handle them
. Where ( i = > i . Type ! = MediaStreamType . Subtitle | | ! string . IsNullOrWhiteSpace ( i . Codec ) )
. ToList ( ) ;
if ( data . format ! = null )