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/872aec9352d1e9aebf2c6f6722ff23a8aebb39a8/MediaBrowser.XbmcMetadata/Configuration/NfoOptions.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.XbmcMetadata.Configuration
|
|
|
|
|
{
|
|
|
|
|
public class ConfigurationFactory : IConfigurationFactory
|
|
|
|
|
{
|
|
|
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
|
|
|
{
|
|
|
|
|
return new[]
|
|
|
|
|
{
|
|
|
|
|
new ConfigurationStore
|
|
|
|
|
{
|
|
|
|
|
ConfigurationType = typeof(XbmcMetadataOptions),
|
|
|
|
|
Key = "xbmcmetadata"
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class ConfigurationExtension
|
|
|
|
|
{
|
|
|
|
|
public static XbmcMetadataOptions GetNfoConfiguration(this IConfigurationManager manager)
|
|
|
|
|
{
|
|
|
|
|
return manager.GetConfiguration<XbmcMetadataOptions>("xbmcmetadata");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|