Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/1f2ecd0775f291457e780733339bb5009ebb8408
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
6 deletions
@ -140,7 +140,7 @@ namespace Emby.Server.Implementations.Plugins
{
foreach ( var pluginServiceRegistrator in _appHost . GetExportTypes < IPluginServiceRegistrator > ( ) )
{
var plugin = GetPluginBy Type ( pluginServiceRegistrator . Assembly . GetType ( ) ) ;
var plugin = GetPluginBy Assembly ( pluginServiceRegistrator . Assembly ) ;
if ( plugin = = null )
{
_logger . LogError ( "Unable to find plugin in assembly {Assembly}" , pluginServiceRegistrator . Assembly . FullName ) ;
@ -350,14 +350,14 @@ namespace Emby.Server.Implementations.Plugins
}
/// <summary>
/// Finds the plugin record using the type .
/// Finds the plugin record using the assembly .
/// </summary>
/// <param name=" type">The <see cref="Type "/> being sought.</param>
/// <param name=" assembly">The <see cref="Assembly "/> being sought.</param>
/// <returns>The matching record, or null if not found.</returns>
private LocalPlugin ? GetPluginBy Type( Type type )
private LocalPlugin ? GetPluginBy Assembly( Assembly assembly )
{
// Find which plugin it is by the path.
return _plugins . FirstOrDefault ( p = > string . Equals ( p . Path , Path . GetDirectoryName ( type. A ssembly. Location ) , StringComparison . Ordinal ) ) ;
return _plugins . FirstOrDefault ( p = > string . Equals ( p . Path , Path . GetDirectoryName ( a ssembly. Location ) , StringComparison . Ordinal ) ) ;
}
/// <summary>
@ -368,7 +368,7 @@ namespace Emby.Server.Implementations.Plugins
private IPlugin ? CreatePluginInstance ( Type type )
{
// Find the record for this plugin.
var plugin = GetPluginBy Type( type ) ;
var plugin = GetPluginBy Assembly( type . Assembly ) ;
if ( plugin ? . Manifest . Status < PluginStatus . Active )
{
return null ;