aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/ApplicationHost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.ServerApplication/ApplicationHost.cs')
-rw-r--r--MediaBrowser.ServerApplication/ApplicationHost.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs
index 8f738c5dc..126bea9e5 100644
--- a/MediaBrowser.ServerApplication/ApplicationHost.cs
+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs
@@ -460,11 +460,11 @@ namespace MediaBrowser.ServerApplication
GetExports<ILibraryPostScanTask>(),
GetExports<IMetadataSaver>());
- ProviderManager.AddParts(GetExports<BaseMetadataProvider>().ToArray());
+ ProviderManager.AddParts(GetExports<BaseMetadataProvider>());
- IsoManager.AddParts(GetExports<IIsoMounter>().ToArray());
+ IsoManager.AddParts(GetExports<IIsoMounter>());
- ImageProcessor.AddParts(GetExports<IImageEnhancer>().ToArray());
+ ImageProcessor.AddParts(GetExports<IImageEnhancer>());
}
/// <summary>
@@ -607,9 +607,9 @@ namespace MediaBrowser.ServerApplication
IsNetworkDeployed = CanSelfUpdate,
WebSocketPortNumber = ServerManager.WebSocketPortNumber,
SupportsNativeWebSocket = ServerManager.SupportsNativeWebSocket,
- FailedPluginAssemblies = FailedAssemblies.ToArray(),
- InProgressInstallations = InstallationManager.CurrentInstallations.Select(i => i.Item1).ToArray(),
- CompletedInstallations = InstallationManager.CompletedInstallations.ToArray(),
+ FailedPluginAssemblies = FailedAssemblies.ToList(),
+ InProgressInstallations = InstallationManager.CurrentInstallations.Select(i => i.Item1).ToList(),
+ CompletedInstallations = InstallationManager.CompletedInstallations.ToList(),
Id = _systemId,
ProgramDataPath = ApplicationPaths.ProgramDataPath,
MacAddress = GetMacAddress(),