Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/fe29d3c8dc21b8275ad4fd4cd34bdf670272afdb
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
7 additions and
3 deletions
@ -1,5 +1,4 @@
using System.Text.RegularExpressions ;
using Lucene.Net.Analysis.Standard ;
using Lucene.Net.Analysis.Standard ;
using Lucene.Net.Documents ;
using Lucene.Net.Index ;
using Lucene.Net.QueryParsers ;
@ -112,7 +111,7 @@ namespace MediaBrowser.Server.Implementations.Library
var items = inputItems . Where ( i = > ! ( i is MusicArtist ) ) . ToList ( ) ;
// Add search hints based on item name
hints . AddRange ( items . Select( item = >
hints . AddRange ( items . Where( i = > ! string . IsNullOrEmpty ( i . Name ) ) . Select( item = >
{
var index = GetIndex ( item . Name , searchTerm , terms ) ;
@ -264,6 +263,11 @@ namespace MediaBrowser.Server.Implementations.Library
/// <returns>System.Int32.</returns>
private Tuple < string , int > GetIndex ( string input , string searchInput , string [ ] searchWords )
{
if ( string . IsNullOrEmpty ( input ) )
{
throw new ArgumentNullException ( "input" ) ;
}
if ( string . Equals ( input , searchInput , StringComparison . OrdinalIgnoreCase ) )
{
return new Tuple < string , int > ( searchInput , 0 ) ;