From 2b179ecfe2a428977382aab19c5d73d45fa6cec1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 4 Mar 2015 12:22:55 -0500 Subject: [PATCH] update image magick sharp --- MediaBrowser.Model/Net/MimeTypes.cs | 7 +------ MediaBrowser.Model/Sync/SyncJobRequest.cs | 2 +- .../MediaBrowser.Server.Implementations.csproj | 9 ++++++++- MediaBrowser.Server.Implementations/Sync/SyncManager.cs | 6 +++++- MediaBrowser.Server.Implementations/packages.config | 2 +- .../MediaBrowser.ServerApplication.csproj | 2 +- MediaBrowser.ServerApplication/packages.config | 2 +- 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/MediaBrowser.Model/Net/MimeTypes.cs b/MediaBrowser.Model/Net/MimeTypes.cs index 1f54e48d11..56cfff7335 100644 --- a/MediaBrowser.Model/Net/MimeTypes.cs +++ b/MediaBrowser.Model/Net/MimeTypes.cs @@ -265,12 +265,7 @@ namespace MediaBrowser.Model.Net return "application/ttml+xml"; } - if (ext.Equals(".bif", StringComparison.OrdinalIgnoreCase)) - { - return "application/octet-stream"; - } - - throw new ArgumentException("Argument not supported: " + path); + return "application/octet-stream"; } public static string ToExtension(string mimeType) diff --git a/MediaBrowser.Model/Sync/SyncJobRequest.cs b/MediaBrowser.Model/Sync/SyncJobRequest.cs index 7d3016d0ef..2af4283839 100644 --- a/MediaBrowser.Model/Sync/SyncJobRequest.cs +++ b/MediaBrowser.Model/Sync/SyncJobRequest.cs @@ -28,7 +28,7 @@ namespace MediaBrowser.Model.Sync /// Gets or sets the quality. /// /// The quality. - public SyncQuality Quality { get; set; } + public string Quality { get; set; } /// /// Gets or sets the name. /// diff --git a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj index 54df9a86d5..359e7a2aaa 100644 --- a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj +++ b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj @@ -47,7 +47,7 @@ False - ..\packages\ImageMagickSharp.1.0.0.6\lib\net45\ImageMagickSharp.dll + ..\packages\ImageMagickSharp.1.0.0.7\lib\net45\ImageMagickSharp.dll False @@ -512,6 +512,13 @@ + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +