diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-12 14:49:19 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-12 14:49:19 -0500 |
| commit | bbd672bf95205ed441c1c0839bb2b0a751cc3d1b (patch) | |
| tree | 1f11bf9955b631e10c01cf22ec36c12ae2c3a6c3 | |
| parent | 90e06289dc8a9b97fc48ee136eade94616de1ad6 (diff) | |
update image sizing
| -rw-r--r-- | MediaBrowser.Model/System/SystemInfo.cs | 9 | ||||
| -rw-r--r-- | 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 /// </summary> /// <value><c>true</c> if [supports library monitor]; otherwise, <c>false</c>.</value> public bool SupportsLibraryMonitor { get; set; } - + /// <summary> /// Gets or sets a value indicating whether this instance is network deployed. /// </summary> @@ -87,6 +87,12 @@ namespace MediaBrowser.Model.System public List<string> FailedPluginAssemblies { get; set; } /// <summary> + /// Gets or sets the image enhancers. + /// </summary> + /// <value>The image enhancers.</value> + public List<string> ImageEnhancers { get; set; } + + /// <summary> /// Gets or sets the program data path. /// </summary> /// <value>The program data path.</value> @@ -162,6 +168,7 @@ namespace MediaBrowser.Model.System CompletedInstallations = new List<InstallationInfo>(); FailedPluginAssemblies = new List<string>(); + ImageEnhancers = new List<string>(); } } } 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() }; } |
