aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-18 16:06:00 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-18 16:06:00 -0500
commite58e34ceca52914bd2475c76ede5f7ee91964d00 (patch)
tree963560d56662ddc2145c774ec36cc7d6458ca601 /MediaBrowser.ServerApplication
parentc6f1bd93fc3c6aab16d5ba2c0ceeddb9303d029d (diff)
move classes to portable project
Diffstat (limited to 'MediaBrowser.ServerApplication')
-rw-r--r--MediaBrowser.ServerApplication/MainStartup.cs3
-rw-r--r--MediaBrowser.ServerApplication/WindowsAppHost.cs3
2 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs
index 328041bc3..9b634d12b 100644
--- a/MediaBrowser.ServerApplication/MainStartup.cs
+++ b/MediaBrowser.ServerApplication/MainStartup.cs
@@ -24,6 +24,7 @@ using Emby.Common.Implementations.Networking;
using Emby.Common.Implementations.Security;
using Emby.Server.Core;
using Emby.Server.Core.Browser;
+using Emby.Server.Implementations;
using Emby.Server.Implementations.IO;
using ImageMagickSharp;
using MediaBrowser.Common.Net;
@@ -73,7 +74,7 @@ namespace MediaBrowser.ServerApplication
/// </summary>
public static void Main()
{
- var options = new StartupOptions();
+ var options = new StartupOptions(Environment.GetCommandLineArgs());
IsRunningAsService = options.ContainsOption("-service");
if (IsRunningAsService)
diff --git a/MediaBrowser.ServerApplication/WindowsAppHost.cs b/MediaBrowser.ServerApplication/WindowsAppHost.cs
index fa18b5229..b950de118 100644
--- a/MediaBrowser.ServerApplication/WindowsAppHost.cs
+++ b/MediaBrowser.ServerApplication/WindowsAppHost.cs
@@ -5,8 +5,9 @@ using System.IO;
using System.Reflection;
using Emby.Server.Core;
using Emby.Server.Core.Data;
-using Emby.Server.Core.FFMpeg;
+using Emby.Server.Implementations;
using Emby.Server.Implementations.EntryPoints;
+using Emby.Server.Implementations.FFMpeg;
using MediaBrowser.Model.IO;
using MediaBrowser.Model.Logging;
using MediaBrowser.Model.System;