Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/src/commit/578dec0c71361be17eed68f82f20840807a9c9f4/MediaBrowser.Model/Extensions/ListHelper.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/MediaBrowser.Model/Extensions/ListHelper.cs

46 lines
1.2 KiB

using System;
using System.Collections.Generic;
using System.Linq;
namespace MediaBrowser.Model.Extensions
{
public static class ListHelper
{
public static bool ContainsIgnoreCase(List<string> list, string value)
{
if (value == null)
{
throw new ArgumentNullException("value");
}
return list.Contains(value, StringComparer.OrdinalIgnoreCase);
}
public static bool ContainsIgnoreCase(string[] list, string value)
{
if (value == null)
{
throw new ArgumentNullException("value");
}
return list.Contains(value, StringComparer.OrdinalIgnoreCase);
}
public static bool ContainsAnyIgnoreCase(string[] list, string[] values)
{
if (values == null)
{
throw new ArgumentNullException("values");
}
foreach (string val in values)
{
if (ContainsIgnoreCase(list, val))
{
return true;
}
}
return false;
}
}
}