Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/fd93caf37f27c8e197af37b89960195ea023e7b1/MediaBrowser.Controller/Library/MetadataConfigurationStore.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using MediaBrowser.Common.Configuration;
|
|
|
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
|
{
|
|
|
|
|
public class MetadataConfigurationStore : IConfigurationFactory
|
|
|
|
|
{
|
|
|
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
|
|
|
{
|
|
|
|
|
return new List<ConfigurationStore>
|
|
|
|
|
{
|
|
|
|
|
new ConfigurationStore
|
|
|
|
|
{
|
|
|
|
|
Key = "metadata",
|
|
|
|
|
ConfigurationType = typeof(MetadataConfiguration)
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class MetadataConfigurationExtensions
|
|
|
|
|
{
|
|
|
|
|
public static MetadataConfiguration GetMetadataConfiguration(this IConfigurationManager config)
|
|
|
|
|
{
|
|
|
|
|
return config.GetConfiguration<MetadataConfiguration>("metadata");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|