From 9dfb7cc30761da758bb0411d7b20f022c5f91ed9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 6 Dec 2015 23:57:04 -0500 Subject: add fetch timeout --- MediaBrowser.ServerApplication/MainStartup.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MediaBrowser.ServerApplication') diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index 3ef1714420..3fec815f5a 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -18,6 +18,7 @@ using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using CommonIO.Windows; +using ImageMagickSharp; using MediaBrowser.Server.Implementations.Logging; namespace MediaBrowser.ServerApplication @@ -47,6 +48,8 @@ namespace MediaBrowser.ServerApplication var applicationPath = currentProcess.MainModule.FileName; var architecturePath = Path.Combine(Path.GetDirectoryName(applicationPath), Environment.Is64BitProcess ? "x64" : "x86"); + Wand.SetMagickCoderModulePath(architecturePath); + var success = SetDllDirectory(architecturePath); var appPaths = CreateApplicationPaths(applicationPath, _isRunningAsService); -- cgit v1.2.3