From bbd672bf95205ed441c1c0839bb2b0a751cc3d1b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 12 Nov 2015 14:49:19 -0500 Subject: [PATCH] update image sizing --- MediaBrowser.Model/System/SystemInfo.cs | 9 ++++++++- MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.cs index e3e8c7be2..ffc65cb66 100644 --- a/MediaBrowser.Model/System/SystemInfo.cs +++ b/MediaBrowser.Model/System/SystemInfo.cs @@ -43,7 +43,7 @@ namespace MediaBrowser.Model.System /// /// true if [supports library monitor]; otherwise, false. public bool SupportsLibraryMonitor { get; set; } - + /// /// Gets or sets a value indicating whether this instance is network deployed. /// @@ -86,6 +86,12 @@ namespace MediaBrowser.Model.System /// The failed assembly loads. public List FailedPluginAssemblies { get; set; } + /// + /// Gets or sets the image enhancers. + /// + /// The image enhancers. + public List ImageEnhancers { get; set; } + /// /// Gets or sets the program data path. /// @@ -162,6 +168,7 @@ namespace MediaBrowser.Model.System CompletedInstallations = new List(); FailedPluginAssemblies = new List(); + ImageEnhancers = new List(); } } } diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 97a457a1b..931af669f 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -1084,7 +1084,8 @@ namespace MediaBrowser.Server.Startup.Common SupportsRunningAsService = SupportsRunningAsService, ServerName = FriendlyName, LocalAddress = LocalApiUrl, - SupportsLibraryMonitor = SupportsLibraryMonitor + SupportsLibraryMonitor = SupportsLibraryMonitor, + ImageEnhancers = ImageProcessor.ImageEnhancers.Select(i => i.GetType().Name).ToList() }; }