The Free Software Media System - Server Backend & API
move class to new core project
Luke Pulverenti5bb864a0c4e0
diff --git a/Emby.Server.Core/Emby.Server.Core.xproj b/Emby.Server.Core/Emby.Server.Core.xprojindex f7f252dfba..704e84d266 100644--- a/Emby.Server.Core/Emby.Server.Core.xproj+++ b/Emby.Server.Core/Emby.Server.Core.xproj@@ -4,7 +4,6 @@<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion><VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath></PropertyGroup>-<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" /><PropertyGroup Label="Globals"><ProjectGuid>65aa7d67-8059-40cd-91f1-16d02687226c</ProjectGuid>@@ -13,9 +12,11 @@<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath><TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion></PropertyGroup>-<PropertyGroup><SchemaVersion>2.0</SchemaVersion></PropertyGroup>+ <ItemGroup>+ <ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />+ </ItemGroup><Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />-</Project>+</Project>\ No newline at end of filediff --git a/MediaBrowser.Server.Startup.Common/StartupOptions.cs b/Emby.Server.Core/StartupOptions.cssimilarity index 93%rename from MediaBrowser.Server.Startup.Common/StartupOptions.csrename to Emby.Server.Core/StartupOptions.csindex 1acaf63486..5da42394d5 100644--- a/MediaBrowser.Server.Startup.Common/StartupOptions.cs+++ b/Emby.Server.Core/StartupOptions.cs@@ -2,7 +2,7 @@using System.Collections.Generic;using System.Linq;-namespace MediaBrowser.Server.Startup.Common+namespace Emby.Server.Core{public class StartupOptions{diff --git a/Emby.Server.Core/project.json b/Emby.Server.Core/project.jsonindex 94ca05af05..678026745d 100644--- a/Emby.Server.Core/project.json+++ b/Emby.Server.Core/project.json@@ -1,4 +1,4 @@-{+{"version": "1.0.0-*","dependencies": {@@ -11,14 +11,18 @@},"dependencies": {-+ "MediaBrowser.Model": {+ "target": "project"+ }}},"netstandard1.6": {"imports": "dnxcore50","dependencies": {"NETStandard.Library": "1.6.0",-+ "MediaBrowser.Model": {+ "target": "project"+ }}}}diff --git a/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj b/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csprojindex c784f1bb37..d59725d1d1 100644--- a/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj+++ b/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj@@ -61,6 +61,9 @@<Reference Include="Emby.Common.Implementations"><HintPath>..\ThirdParty\emby\Emby.Common.Implementations.dll</HintPath></Reference>+ <Reference Include="Emby.Server.Core">+ <HintPath>..\ThirdParty\emby\Emby.Server.Core.dll</HintPath>+ </Reference><Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL"><SpecificVersion>False</SpecificVersion><HintPath>..\packages\Mono.Posix.4.0.0.0\lib\net40\Mono.Posix.dll</HintPath>diff --git a/MediaBrowser.Server.Mono/Native/MonoApp.cs b/MediaBrowser.Server.Mono/Native/MonoApp.csindex a364758157..64d8488ab9 100644--- a/MediaBrowser.Server.Mono/Native/MonoApp.cs+++ b/MediaBrowser.Server.Mono/Native/MonoApp.cs@@ -7,6 +7,7 @@ using System;using System.Collections.Generic;using System.Reflection;using System.Text.RegularExpressions;+using Emby.Server.Core;using MediaBrowser.Model.System;using MediaBrowser.Server.Startup.Common.Persistence;using MediaBrowser.Server.Startup.Common.FFMpeg;diff --git a/MediaBrowser.Server.Mono/Program.cs b/MediaBrowser.Server.Mono/Program.csindex 77fa6fd91d..d453596278 100644--- a/MediaBrowser.Server.Mono/Program.cs+++ b/MediaBrowser.Server.Mono/Program.cs@@ -14,6 +14,7 @@ using System.Security.Cryptography.X509Certificates;using System.Threading.Tasks;using Emby.Common.Implementations.IO;using Emby.Common.Implementations.Logging;+using Emby.Server.Core;namespace MediaBrowser.Server.Mono{diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.csindex 5cadd99c41..f0c134c081 100644--- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs+++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs@@ -89,6 +89,7 @@ using Emby.Dlna.ContentDirectory;using Emby.Dlna.Main;using Emby.Dlna.MediaReceiverRegistrar;using Emby.Dlna.Ssdp;+using Emby.Server.Core;using Emby.Server.Implementations.Activity;using Emby.Server.Implementations.Channels;using Emby.Server.Implementations.Collections;diff --git a/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs b/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.csindex 757e43db66..e40dfe45f8 100644--- a/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs+++ b/MediaBrowser.Server.Startup.Common/FFMpeg/FFMpegLoader.cs@@ -9,9 +9,7 @@ using System.IO;using System.Linq;using System.Threading;using System.Threading.Tasks;-using MediaBrowser.Common.IO;-using MediaBrowser.Controller.IO;-using MediaBrowser.Model.IO;+using Emby.Server.Core;namespace MediaBrowser.Server.Startup.Common.FFMpeg{diff --git a/MediaBrowser.Server.Startup.Common/INativeApp.cs b/MediaBrowser.Server.Startup.Common/INativeApp.csindex ca0e9d21ee..4dd6ecfe1b 100644--- a/MediaBrowser.Server.Startup.Common/INativeApp.cs+++ b/MediaBrowser.Server.Startup.Common/INativeApp.cs@@ -2,6 +2,7 @@using MediaBrowser.Model.Logging;using System.Collections.Generic;using System.Reflection;+using Emby.Server.Core;using MediaBrowser.Server.Startup.Common.FFMpeg;using MediaBrowser.Server.Startup.Common.Persistence;diff --git a/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj b/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csprojindex 272ad3b099..8976582b1f 100644--- a/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj+++ b/MediaBrowser.Server.Startup.Common/MediaBrowser.Server.Startup.Common.csproj@@ -37,6 +37,9 @@<Reference Include="Emby.Common.Implementations"><HintPath>..\ThirdParty\emby\Emby.Common.Implementations.dll</HintPath></Reference>+ <Reference Include="Emby.Server.Core">+ <HintPath>..\ThirdParty\emby\Emby.Server.Core.dll</HintPath>+ </Reference><Reference Include="INIFileParser, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79af7b307b65cf3c, processorArchitecture=MSIL"><HintPath>..\packages\ini-parser.2.3.0\lib\net20\INIFileParser.dll</HintPath><Private>True</Private>@@ -166,7 +169,6 @@<Compile Include="Cryptography\X520Attributes.cs" /><Compile Include="ServerApplicationPaths.cs" /><Compile Include="Social\SharingRepository.cs" />- <Compile Include="StartupOptions.cs" /><Compile Include="Sync\SyncRepository.cs" /><Compile Include="SystemEvents.cs" /><Compile Include="TextLocalizer.cs" />diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.csindex a3f4096367..01657868d2 100644--- a/MediaBrowser.ServerApplication/MainStartup.cs+++ b/MediaBrowser.ServerApplication/MainStartup.cs@@ -20,6 +20,7 @@ using System.Threading.Tasks;using System.Windows.Forms;using Emby.Common.Implementations.IO;using Emby.Common.Implementations.Logging;+using Emby.Server.Core;using ImageMagickSharp;using MediaBrowser.Common.Net;diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csprojindex 4b682ed3e2..2c78c22c92 100644--- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj+++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj@@ -67,6 +67,9 @@<Reference Include="Emby.Common.Implementations"><HintPath>..\ThirdParty\emby\Emby.Common.Implementations.dll</HintPath></Reference>+ <Reference Include="Emby.Server.Core">+ <HintPath>..\ThirdParty\emby\Emby.Server.Core.dll</HintPath>+ </Reference><Reference Include="ImageMagickSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"><SpecificVersion>False</SpecificVersion><HintPath>..\packages\ImageMagickSharp.1.0.0.18\lib\net45\ImageMagickSharp.dll</HintPath>diff --git a/MediaBrowser.ServerApplication/Native/WindowsApp.cs b/MediaBrowser.ServerApplication/Native/WindowsApp.csindex 87139cc721..82d4489941 100644--- a/MediaBrowser.ServerApplication/Native/WindowsApp.cs+++ b/MediaBrowser.ServerApplication/Native/WindowsApp.cs@@ -8,6 +8,7 @@ using System.Diagnostics;using System.IO;using System.Reflection;using System.Windows.Forms;+using Emby.Server.Core;using MediaBrowser.Common.IO;using MediaBrowser.Controller.IO;using MediaBrowser.Model.IO;