Update ApplicationHost.cs
This commit is contained in:
parent
298a322ac1
commit
2929ce6e0d
|
@ -1540,6 +1540,7 @@ namespace Emby.Server.Implementations
|
||||||
public IEnumerable<Assembly> GetApiPluginAssemblies()
|
public IEnumerable<Assembly> GetApiPluginAssemblies()
|
||||||
{
|
{
|
||||||
var assemblies = _allConcreteTypes
|
var assemblies = _allConcreteTypes
|
||||||
|
.Select(LoadPlugin)
|
||||||
.Where(i => typeof(ControllerBase).IsAssignableFrom(i))
|
.Where(i => typeof(ControllerBase).IsAssignableFrom(i))
|
||||||
.Select(i => i.Assembly)
|
.Select(i => i.Assembly)
|
||||||
.Distinct();
|
.Distinct();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user