aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-12-06 23:57:04 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-12-06 23:57:04 -0500
commit9dfb7cc30761da758bb0411d7b20f022c5f91ed9 (patch)
treef5e6a0cfb6628d52751281b0216462b5a3334e27 /MediaBrowser.ServerApplication
parent19076d054637074a0ae7a61b994c67577c9b6f4d (diff)
add fetch timeout
Diffstat (limited to 'MediaBrowser.ServerApplication')
-rw-r--r--MediaBrowser.ServerApplication/MainStartup.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs
index 3ef171442..3fec815f5 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);