aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-10-03 09:23:12 +0100
committerGitHub <noreply@github.com>2020-10-03 09:23:12 +0100
commit7459baac8bf9bac4a29469eeead1204b1c0114b2 (patch)
tree1e7a77f9c97069d97ee42d1722f3196545324f3f
parent2929ce6e0dd8f3308bd1249e8b5eb1cf8edba008 (diff)
Update ApplicationHost.cs
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 3419675c3..d14e503b0 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -770,6 +770,7 @@ namespace Emby.Server.Implementations
ConfigurationManager.AddParts(GetExports<IConfigurationFactory>());
_plugins = GetExports<IPlugin>()
+ .Select(LoadPlugin)
.Where(i => i != null)
.ToArray();
@@ -1540,7 +1541,6 @@ namespace Emby.Server.Implementations
public IEnumerable<Assembly> GetApiPluginAssemblies()
{
var assemblies = _allConcreteTypes
- .Select(LoadPlugin)
.Where(i => typeof(ControllerBase).IsAssignableFrom(i))
.Select(i => i.Assembly)
.Distinct();