The Free Software Media System - Server Backend & API
removed dead files
Luke Pulverentifbbb50496ab4
diff --git a/Emby.Server.sln b/Emby.Server.slndeleted file mode 100644index 002a7ae0e9..0000000000--- a/Emby.Server.sln+++ /dev/null@@ -1,289 +0,0 @@--Microsoft Visual Studio Solution File, Format Version 12.00-# Visual Studio 14-VisualStudioVersion = 14.0.25420.1-MinimumVisualStudioVersion = 10.0.40219.1-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}"-EndProject-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D93082B7-8BA0-4F64-8772-F318C78773D7}"- ProjectSection(SolutionItems) = preProject- global.json = global.json- EndProjectSection-EndProject-Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Emby.Server", "src\Emby.Server\Emby.Server.xproj", "{DDAFF431-0B3D-4857-8762-990A32DC8472}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Model", "MediaBrowser.Model\MediaBrowser.Model.csproj", "{7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Common", "MediaBrowser.Common\MediaBrowser.Common.csproj", "{9142EEFA-7570-41E1-BFCC-468BB571AF2F}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Controller", "MediaBrowser.Controller\MediaBrowser.Controller.csproj", "{17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.XbmcMetadata", "MediaBrowser.XbmcMetadata\MediaBrowser.XbmcMetadata.csproj", "{23499896-B135-4527-8574-C26E926EA99E}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.LocalMetadata", "MediaBrowser.LocalMetadata\MediaBrowser.LocalMetadata.csproj", "{7EF9F3E0-697D-42F3-A08F-19DEB5F84392}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.WebDashboard", "MediaBrowser.WebDashboard\MediaBrowser.WebDashboard.csproj", "{5624B7B5-B5A7-41D8-9F10-CC5611109619}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DvdLib", "DvdLib\DvdLib.csproj", "{713F42B5-878E-499D-A878-E4C652B1D5E8}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BDInfo", "BDInfo\BDInfo.csproj", "{88AE38DF-19D7-406F-A6A9-09527719A21E}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Providers", "MediaBrowser.Providers\MediaBrowser.Providers.csproj", "{442B5058-DCAF-4263-BB6A-F21E31120A1B}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenSubtitlesHandler", "OpenSubtitlesHandler\OpenSubtitlesHandler.csproj", "{4A4402D4-E910-443B-B8FC-2C18286A2CA0}"-EndProject-Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Emby.Common.Implementations", "Emby.Common.Implementations\Emby.Common.Implementations.xproj", "{5A27010A-09C6-4E86-93EA-437484C10917}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Emby.Photos", "Emby.Photos\Emby.Photos.csproj", "{89AB4548-770D-41FD-A891-8DAFF44F452C}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Api", "MediaBrowser.Api\MediaBrowser.Api.csproj", "{4FD51AC5-2C16-4308-A993-C3A84F3B4582}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.MediaEncoding", "MediaBrowser.MediaEncoding\MediaBrowser.MediaEncoding.csproj", "{0BD82FA6-EB8A-4452-8AF5-74F9C3849451}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RSSDP", "RSSDP\RSSDP.csproj", "{21002819-C39A-4D3E-BE83-2A276A77FB1F}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Emby.Dlna", "Emby.Dlna\Emby.Dlna.csproj", "{805844AB-E92F-45E6-9D99-4F6D48D129A5}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MediaBrowser.Server.Implementations", "MediaBrowser.Server.Implementations\MediaBrowser.Server.Implementations.csproj", "{2E781478-814D-4A48-9D80-BFF206441A65}"-EndProject-Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Mono.Nat", "Mono.Nat\Mono.Nat.xproj", "{4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Emby.Server.Implementations", "Emby.Server.Implementations\Emby.Server.Implementations.csproj", "{E383961B-9356-4D5D-8233-9A1079D03055}"-EndProject-Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Emby.Server.Core", "Emby.Server.Core\Emby.Server.Core.xproj", "{65AA7D67-8059-40CD-91F1-16D02687226C}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Emby.Drawing", "Emby.Drawing\Emby.Drawing.csproj", "{08FFF49B-F175-4807-A2B5-73B0EBD9F716}"-EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketHttpListener.Portable", "SocketHttpListener.Portable\SocketHttpListener.Portable.csproj", "{4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}"-EndProject-Global- GlobalSection(SolutionConfigurationPlatforms) = preSolution- Debug|Any CPU = Debug|Any CPU- Release Mono|Any CPU = Release Mono|Any CPU- Release|Any CPU = Release|Any CPU- Signed|Any CPU = Signed|Any CPU- EndGlobalSection- GlobalSection(ProjectConfigurationPlatforms) = postSolution- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Debug|Any CPU.Build.0 = Debug|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Release|Any CPU.ActiveCfg = Release|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Release|Any CPU.Build.0 = Release|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {DDAFF431-0B3D-4857-8762-990A32DC8472}.Signed|Any CPU.Build.0 = Release|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Debug|Any CPU.Build.0 = Debug|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Release|Any CPU.ActiveCfg = Release|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Release|Any CPU.Build.0 = Release|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}.Signed|Any CPU.Build.0 = Release|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Debug|Any CPU.Build.0 = Debug|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Release|Any CPU.ActiveCfg = Release|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Release|Any CPU.Build.0 = Release|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {9142EEFA-7570-41E1-BFCC-468BB571AF2F}.Signed|Any CPU.Build.0 = Release|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Debug|Any CPU.Build.0 = Debug|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|Any CPU.ActiveCfg = Release|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Release|Any CPU.Build.0 = Release|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}.Signed|Any CPU.Build.0 = Release|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Debug|Any CPU.Build.0 = Debug|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Release|Any CPU.ActiveCfg = Release|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Release|Any CPU.Build.0 = Release|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {23499896-B135-4527-8574-C26E926EA99E}.Signed|Any CPU.Build.0 = Release|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Debug|Any CPU.Build.0 = Debug|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Release|Any CPU.ActiveCfg = Release|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Release|Any CPU.Build.0 = Release|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392}.Signed|Any CPU.Build.0 = Release|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Debug|Any CPU.Build.0 = Debug|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Release|Any CPU.ActiveCfg = Release|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Release|Any CPU.Build.0 = Release|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {5624B7B5-B5A7-41D8-9F10-CC5611109619}.Signed|Any CPU.Build.0 = Release|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Debug|Any CPU.Build.0 = Debug|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Release|Any CPU.ActiveCfg = Release|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Release|Any CPU.Build.0 = Release|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {713F42B5-878E-499D-A878-E4C652B1D5E8}.Signed|Any CPU.Build.0 = Release|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Debug|Any CPU.Build.0 = Debug|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Release|Any CPU.ActiveCfg = Release|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Release|Any CPU.Build.0 = Release|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {88AE38DF-19D7-406F-A6A9-09527719A21E}.Signed|Any CPU.Build.0 = Release|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Debug|Any CPU.Build.0 = Debug|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Release|Any CPU.ActiveCfg = Release|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Release|Any CPU.Build.0 = Release|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {442B5058-DCAF-4263-BB6A-F21E31120A1B}.Signed|Any CPU.Build.0 = Release|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Debug|Any CPU.Build.0 = Debug|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Release|Any CPU.ActiveCfg = Release|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Release|Any CPU.Build.0 = Release|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {4A4402D4-E910-443B-B8FC-2C18286A2CA0}.Signed|Any CPU.Build.0 = Release|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Debug|Any CPU.Build.0 = Debug|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Release|Any CPU.ActiveCfg = Release|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Release|Any CPU.Build.0 = Release|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {5A27010A-09C6-4E86-93EA-437484C10917}.Signed|Any CPU.Build.0 = Release|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Debug|Any CPU.Build.0 = Debug|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Release|Any CPU.ActiveCfg = Release|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Release|Any CPU.Build.0 = Release|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {89AB4548-770D-41FD-A891-8DAFF44F452C}.Signed|Any CPU.Build.0 = Release|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Debug|Any CPU.Build.0 = Debug|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Release|Any CPU.ActiveCfg = Release|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Release|Any CPU.Build.0 = Release|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {4FD51AC5-2C16-4308-A993-C3A84F3B4582}.Signed|Any CPU.Build.0 = Release|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Debug|Any CPU.Build.0 = Debug|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Release|Any CPU.ActiveCfg = Release|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Release|Any CPU.Build.0 = Release|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451}.Signed|Any CPU.Build.0 = Release|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Debug|Any CPU.Build.0 = Debug|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Release|Any CPU.ActiveCfg = Release|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Release|Any CPU.Build.0 = Release|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {21002819-C39A-4D3E-BE83-2A276A77FB1F}.Signed|Any CPU.Build.0 = Release|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Debug|Any CPU.Build.0 = Debug|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Release|Any CPU.ActiveCfg = Release|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Release|Any CPU.Build.0 = Release|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {805844AB-E92F-45E6-9D99-4F6D48D129A5}.Signed|Any CPU.Build.0 = Release|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Debug|Any CPU.Build.0 = Debug|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Release Mono|Any CPU.ActiveCfg = Release Mono|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Release Mono|Any CPU.Build.0 = Release Mono|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Release|Any CPU.ActiveCfg = Release|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Release|Any CPU.Build.0 = Release|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {2E781478-814D-4A48-9D80-BFF206441A65}.Signed|Any CPU.Build.0 = Release|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Debug|Any CPU.Build.0 = Debug|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Release|Any CPU.ActiveCfg = Release|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Release|Any CPU.Build.0 = Release|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC}.Signed|Any CPU.Build.0 = Release|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Debug|Any CPU.Build.0 = Debug|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Release|Any CPU.ActiveCfg = Release|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Release|Any CPU.Build.0 = Release|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {E383961B-9356-4D5D-8233-9A1079D03055}.Signed|Any CPU.Build.0 = Release|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Debug|Any CPU.Build.0 = Debug|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Release|Any CPU.ActiveCfg = Release|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Release|Any CPU.Build.0 = Release|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {65AA7D67-8059-40CD-91F1-16D02687226C}.Signed|Any CPU.Build.0 = Release|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Debug|Any CPU.Build.0 = Debug|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Release|Any CPU.ActiveCfg = Release|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Release|Any CPU.Build.0 = Release|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {08FFF49B-F175-4807-A2B5-73B0EBD9F716}.Signed|Any CPU.Build.0 = Release|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Debug|Any CPU.Build.0 = Debug|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Release|Any CPU.ActiveCfg = Release|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Release|Any CPU.Build.0 = Release|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Signed|Any CPU.ActiveCfg = Signed|Any CPU- {680A1709-25EB-4D52-A87F-EE03FFD94BAA}.Signed|Any CPU.Build.0 = Signed|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Debug|Any CPU.Build.0 = Debug|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Release Mono|Any CPU.ActiveCfg = Release|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Release Mono|Any CPU.Build.0 = Release|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Release|Any CPU.ActiveCfg = Release|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Release|Any CPU.Build.0 = Release|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Signed|Any CPU.ActiveCfg = Release|Any CPU- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E}.Signed|Any CPU.Build.0 = Release|Any CPU- EndGlobalSection- GlobalSection(SolutionProperties) = preSolution- HideSolutionNode = FALSE- EndGlobalSection- GlobalSection(NestedProjects) = preSolution- {DDAFF431-0B3D-4857-8762-990A32DC8472} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {9142EEFA-7570-41E1-BFCC-468BB571AF2F} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {23499896-B135-4527-8574-C26E926EA99E} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {7EF9F3E0-697D-42F3-A08F-19DEB5F84392} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {5624B7B5-B5A7-41D8-9F10-CC5611109619} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {713F42B5-878E-499D-A878-E4C652B1D5E8} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {88AE38DF-19D7-406F-A6A9-09527719A21E} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {442B5058-DCAF-4263-BB6A-F21E31120A1B} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {4A4402D4-E910-443B-B8FC-2C18286A2CA0} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {5A27010A-09C6-4E86-93EA-437484C10917} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {89AB4548-770D-41FD-A891-8DAFF44F452C} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {4FD51AC5-2C16-4308-A993-C3A84F3B4582} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {0BD82FA6-EB8A-4452-8AF5-74F9C3849451} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {21002819-C39A-4D3E-BE83-2A276A77FB1F} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {805844AB-E92F-45E6-9D99-4F6D48D129A5} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {2E781478-814D-4A48-9D80-BFF206441A65} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {4ACAB6A2-AC9A-4B50-BAEC-1FE4A1F3B8BC} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {E383961B-9356-4D5D-8233-9A1079D03055} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {65AA7D67-8059-40CD-91F1-16D02687226C} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {08FFF49B-F175-4807-A2B5-73B0EBD9F716} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {680A1709-25EB-4D52-A87F-EE03FFD94BAA} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- {4F26D5D8-A7B0-42B3-BA42-7CB7D245934E} = {8ADD772F-F0A4-4A53-9B2F-AF4A4C585839}- EndGlobalSection-EndGlobaldiff --git a/global.json b/global.jsondeleted file mode 100644index 6bc8a74b39..0000000000--- a/global.json+++ /dev/null@@ -1,6 +0,0 @@-{- "projects": [ "src", "test", "." ],- "sdk": {- "version": "1.0.0-preview2-003131"- }-}diff --git a/src/Emby.Server/ApplicationPathHelper.cs b/src/Emby.Server/ApplicationPathHelper.csdeleted file mode 100644index c611ff3727..0000000000--- a/src/Emby.Server/ApplicationPathHelper.cs+++ /dev/null@@ -1,40 +0,0 @@-using System;-using System.Collections.Generic;-using System.IO;-using System.Linq;-using System.Threading.Tasks;--namespace Emby.Server-{- public class ApplicationPathHelper- {- public static string GetProgramDataPath(string appDirectory)- {- var useDebugPath = false;--#if DEBUG- useDebugPath = true;-#endif-- var programDataPath = useDebugPath ?- "programdata" :- "programdata";-- programDataPath = programDataPath- .Replace('/', Path.DirectorySeparatorChar)- .Replace('\\', Path.DirectorySeparatorChar);-- // If it's a relative path, e.g. "..\"- if (!Path.IsPathRooted(programDataPath))- {- programDataPath = Path.Combine(appDirectory, programDataPath);-- programDataPath = Path.GetFullPath(programDataPath);- }-- Directory.CreateDirectory(programDataPath);-- return programDataPath;- }- }-}diff --git a/src/Emby.Server/CoreAppHost.cs b/src/Emby.Server/CoreAppHost.csdeleted file mode 100644index 43142b5e85..0000000000--- a/src/Emby.Server/CoreAppHost.cs+++ /dev/null@@ -1,57 +0,0 @@-using System;-using System.Collections.Generic;-using System.Linq;-using System.Reflection;-using System.Threading.Tasks;-using Emby.Server.Core;-using Emby.Server.Implementations.FFMpeg;-using MediaBrowser.Model.IO;-using MediaBrowser.Model.Logging;-using MediaBrowser.Model.System;-using Emby.Server.Implementations;--namespace Emby.Server-{- public class CoreAppHost : ApplicationHost- {- public CoreAppHost(ServerApplicationPaths applicationPaths, ILogManager logManager, StartupOptions options, IFileSystem fileSystem, IPowerManagement powerManagement, string releaseAssetFilename, IEnvironmentInfo environmentInfo, MediaBrowser.Controller.Drawing.IImageEncoder imageEncoder, ISystemEvents systemEvents, IMemoryStreamFactory memoryStreamFactory, MediaBrowser.Common.Net.INetworkManager networkManager, Action<string, string> certificateGenerator, Func<string> defaultUsernameFactory)- : base(applicationPaths, logManager, options, fileSystem, powerManagement, releaseAssetFilename, environmentInfo, imageEncoder, systemEvents, memoryStreamFactory, networkManager, certificateGenerator, defaultUsernameFactory)- {- }-- protected override void RestartInternal()- {- Program.Restart();- }-- protected override void ShutdownInternal()- {- Program.Shutdown();- }-- protected override List<Assembly> GetAssembliesWithPartsInternal()- {- var list = new List<Assembly>();-- list.Add(GetType().GetTypeInfo().Assembly);-- return list;- }-- public override bool CanSelfRestart- {- get- {- return Program.CanSelfRestart;- }- }-- public override bool CanSelfUpdate- {- get- {- return Program.CanSelfUpdate;- }- }- }-}diff --git a/src/Emby.Server/CoreSystemEvents.cs b/src/Emby.Server/CoreSystemEvents.csdeleted file mode 100644index 7afb94160d..0000000000--- a/src/Emby.Server/CoreSystemEvents.cs+++ /dev/null@@ -1,13 +0,0 @@-using System;-using MediaBrowser.Model.System;--namespace Emby.Server-{- public class CoreSystemEvents : ISystemEvents- {- public event EventHandler Resume;- public event EventHandler Suspend;- public event EventHandler SessionLogoff;- public event EventHandler SystemShutdown;- }-}diff --git a/src/Emby.Server/Emby.Server.xproj b/src/Emby.Server/Emby.Server.xprojdeleted file mode 100644index 78276d17d8..0000000000--- a/src/Emby.Server/Emby.Server.xproj+++ /dev/null@@ -1,45 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">- <PropertyGroup>- <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>ddaff431-0b3d-4857-8762-990a32dc8472</ProjectGuid>- <RootNamespace>Emby.Server</RootNamespace>- <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>- <OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>- <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>- </PropertyGroup>- <PropertyGroup>- <SchemaVersion>2.0</SchemaVersion>- </PropertyGroup>- <ItemGroup>- <ProjectReference Include="..\..\BDInfo\BDInfo.csproj" />- <ProjectReference Include="..\..\DvdLib\DvdLib.csproj" />- <ProjectReference Include="..\..\Emby.Dlna\Emby.Dlna.csproj" />- <ProjectReference Include="..\..\Emby.Drawing\Emby.Drawing.csproj" />- <ProjectReference Include="..\..\Emby.Photos\Emby.Photos.csproj" />- <ProjectReference Include="..\..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" />- <ProjectReference Include="..\..\MediaBrowser.Api\MediaBrowser.Api.csproj" />- <ProjectReference Include="..\..\MediaBrowser.Common\MediaBrowser.Common.csproj" />- <ProjectReference Include="..\..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />- <ProjectReference Include="..\..\MediaBrowser.LocalMetadata\MediaBrowser.LocalMetadata.csproj" />- <ProjectReference Include="..\..\MediaBrowser.MediaEncoding\MediaBrowser.MediaEncoding.csproj" />- <ProjectReference Include="..\..\MediaBrowser.Model\MediaBrowser.Model.csproj" />- <ProjectReference Include="..\..\MediaBrowser.Providers\MediaBrowser.Providers.csproj" />- <ProjectReference Include="..\..\MediaBrowser.Server.Implementations\MediaBrowser.Server.Implementations.csproj" />- <ProjectReference Include="..\..\MediaBrowser.WebDashboard\MediaBrowser.WebDashboard.csproj" />- <ProjectReference Include="..\..\MediaBrowser.XbmcMetadata\MediaBrowser.XbmcMetadata.csproj" />- <ProjectReference Include="..\..\OpenSubtitlesHandler\OpenSubtitlesHandler.csproj" />- <ProjectReference Include="..\..\RSSDP\RSSDP.csproj" />- <ProjectReference Include="..\..\SocketHttpListener.Portable\SocketHttpListener.Portable.csproj" />- </ItemGroup>- <ItemGroup>- <Compile Include="..\..\SharedVersion.cs">- <Link>Properties\SharedVersion.cs</Link>- </Compile>- </ItemGroup>- <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />-</Project>\ No newline at end of filediff --git a/src/Emby.Server/IO/MemoryStreamFactory.cs b/src/Emby.Server/IO/MemoryStreamFactory.csdeleted file mode 100644index 37ac2959ed..0000000000--- a/src/Emby.Server/IO/MemoryStreamFactory.cs+++ /dev/null@@ -1,33 +0,0 @@-using System;-using System.IO;-using MediaBrowser.Model.IO;--namespace Emby.Server.IO-{- public class MemoryStreamFactory : IMemoryStreamFactory- {- public MemoryStream CreateNew()- {- return new MemoryStream();- }-- public MemoryStream CreateNew(int capacity)- {- return new MemoryStream(capacity);- }-- public MemoryStream CreateNew(byte[] buffer)- {- return new MemoryStream(buffer);- }-- public bool TryGetBuffer(MemoryStream stream, out byte[] buffer)- {- ArraySegment<byte> arrayBuffer;- stream.TryGetBuffer(out arrayBuffer);-- buffer = arrayBuffer.Array;- return true;- }- }-}diff --git a/src/Emby.Server/PowerManagement.cs b/src/Emby.Server/PowerManagement.csdeleted file mode 100644index 85e3b72a69..0000000000--- a/src/Emby.Server/PowerManagement.cs+++ /dev/null@@ -1,15 +0,0 @@-using MediaBrowser.Model.System;--namespace Emby.Server-{- public class PowerManagement : IPowerManagement- {- public void PreventSystemStandby()- {- }-- public void AllowSystemStandby()- {- }- }-}diff --git a/src/Emby.Server/Program.cs b/src/Emby.Server/Program.csdeleted file mode 100644index 5e55cfa290..0000000000--- a/src/Emby.Server/Program.cs+++ /dev/null@@ -1,346 +0,0 @@-using MediaBrowser.Model.Logging;-using MediaBrowser.Server.Implementations;-using Microsoft.Win32;-using System;-using System.Diagnostics;-using System.IO;-using System.Linq;-using System.Runtime.InteropServices;-using System.Text;-using System.Threading;-using System.Threading.Tasks;-using Emby.Common.Implementations.EnvironmentInfo;-using Emby.Common.Implementations.IO;-using Emby.Common.Implementations.Logging;-using Emby.Common.Implementations.Networking;-using Emby.Drawing;-using Emby.Server.Core;-using Emby.Server.Implementations.Browser;-using Emby.Server.Implementations.IO;-using MediaBrowser.Common.Net;-using Emby.Server.IO;-using Emby.Server.Implementations;--namespace Emby.Server-{- public class Program- {- private static ApplicationHost _appHost;-- private static ILogger _logger;-- private static bool _appHostDisposed;-- [DllImport("kernel32.dll", SetLastError = true)]- static extern bool SetDllDirectory(string lpPathName);-- /// <summary>- /// Defines the entry point of the application.- /// </summary>- public static void Main(string[] args)- {- var options = new StartupOptions(Environment.GetCommandLineArgs());-- var environmentInfo = new EnvironmentInfo();-- var baseDirectory = System.AppContext.BaseDirectory;- string archPath = baseDirectory;- if (environmentInfo.SystemArchitecture == MediaBrowser.Model.System.Architecture.X64)- {- archPath = Path.Combine(archPath, "x64");- }- else if (environmentInfo.SystemArchitecture == MediaBrowser.Model.System.Architecture.X86)- {- archPath = Path.Combine(archPath, "x86");- }- else- {- archPath = Path.Combine(archPath, "arm");- }-- //Wand.SetMagickCoderModulePath(architecturePath);-- if (environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows)- {- SetDllDirectory(archPath);- }-- var appPaths = CreateApplicationPaths(baseDirectory);- SetSqliteProvider();-- var logManager = new NlogManager(appPaths.LogDirectoryPath, "server");- logManager.ReloadLogger(LogSeverity.Debug);- logManager.AddConsoleOutput();-- var logger = _logger = logManager.GetLogger("Main");-- ApplicationHost.LogEnvironmentInfo(logger, appPaths, true);-- AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;-- //if (IsAlreadyRunning(applicationPath, currentProcess))- //{- // logger.Info("Shutting down because another instance of Emby Server is already running.");- // return;- //}-- if (PerformUpdateIfNeeded(appPaths, logger))- {- logger.Info("Exiting to perform application update.");- return;- }-- RunApplication(appPaths, logManager, options, environmentInfo);- }-- private static void SetSqliteProvider()- {- SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());- }-- /// <summary>- /// Determines whether [is already running] [the specified current process].- /// </summary>- /// <param name="applicationPath">The application path.</param>- /// <param name="currentProcess">The current process.</param>- /// <returns><c>true</c> if [is already running] [the specified current process]; otherwise, <c>false</c>.</returns>- private static bool IsAlreadyRunning(string applicationPath, Process currentProcess)- {- var duplicate = Process.GetProcesses().FirstOrDefault(i =>- {- try- {- if (currentProcess.Id == i.Id)- {- return false;- }- }- catch (Exception)- {- return false;- }-- try- {- //_logger.Info("Module: {0}", i.MainModule.FileName);- if (string.Equals(applicationPath, i.MainModule.FileName, StringComparison.OrdinalIgnoreCase))- {- return true;- }- return false;- }- catch (Exception)- {- return false;- }- });-- if (duplicate != null)- {- _logger.Info("Found a duplicate process. Giving it time to exit.");-- if (!duplicate.WaitForExit(30000))- {- _logger.Info("The duplicate process did not exit.");- return true;- }- }-- return false;- }-- /// <summary>- /// Creates the application paths.- /// </summary>- private static ServerApplicationPaths CreateApplicationPaths(string appDirectory)- {- var resourcesPath = appDirectory;-- return new ServerApplicationPaths(ApplicationPathHelper.GetProgramDataPath(appDirectory), appDirectory, resourcesPath);- }-- /// <summary>- /// Gets a value indicating whether this instance can self restart.- /// </summary>- /// <value><c>true</c> if this instance can self restart; otherwise, <c>false</c>.</value>- public static bool CanSelfRestart- {- get- {- return true;- }- }-- /// <summary>- /// Gets a value indicating whether this instance can self update.- /// </summary>- /// <value><c>true</c> if this instance can self update; otherwise, <c>false</c>.</value>- public static bool CanSelfUpdate- {- get- {- return false;- }- }-- private static readonly TaskCompletionSource<bool> ApplicationTaskCompletionSource = new TaskCompletionSource<bool>();-- /// <summary>- /// Runs the application.- /// </summary>- /// <param name="appPaths">The app paths.</param>- /// <param name="logManager">The log manager.</param>- /// <param name="options">The options.</param>- private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, StartupOptions options, EnvironmentInfo environmentInfo)- {- var fileSystem = new ManagedFileSystem(logManager.GetLogger("FileSystem"), true, true, false, appPaths.TempDirectory);-- fileSystem.AddShortcutHandler(new MbLinkShortcutHandler(fileSystem));-- var imageEncoder = new NullImageEncoder();-- _appHost = new CoreAppHost(appPaths,- logManager,- options,- fileSystem,- new PowerManagement(),- "emby.windows.zip",- environmentInfo,- imageEncoder,- new CoreSystemEvents(),- new MemoryStreamFactory(),- new NetworkManager(logManager.GetLogger("NetworkManager")),- GenerateCertificate,- () => "EmbyUser");-- var initProgress = new Progress<double>();-- if (environmentInfo.OperatingSystem == MediaBrowser.Model.System.OperatingSystem.Windows)- {- // Not crazy about this but it's the only way to suppress ffmpeg crash dialog boxes- SetErrorMode(ErrorModes.SEM_FAILCRITICALERRORS | ErrorModes.SEM_NOALIGNMENTFAULTEXCEPT |- ErrorModes.SEM_NOGPFAULTERRORBOX | ErrorModes.SEM_NOOPENFILEERRORBOX);- }-- var task = _appHost.Init(initProgress);- Task.WaitAll(task);-- task = task.ContinueWith(new Action<Task>(a => _appHost.RunStartupTasks()), TaskContinuationOptions.OnlyOnRanToCompletion | TaskContinuationOptions.AttachedToParent);-- Task.WaitAll(task);-- task = ApplicationTaskCompletionSource.Task;- Task.WaitAll(task);- }-- private static void GenerateCertificate(string certPath, string certHost)- {- //CertificateGenerator.CreateSelfSignCertificatePfx(certPath, certHost, _logger);- }-- /// <summary>- /// Handles the UnhandledException event of the CurrentDomain control.- /// </summary>- /// <param name="sender">The source of the event.</param>- /// <param name="e">The <see cref="UnhandledExceptionEventArgs"/> instance containing the event data.</param>- static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)- {- var exception = (Exception)e.ExceptionObject;-- new UnhandledExceptionWriter(_appHost.ServerConfigurationManager.ApplicationPaths, _logger, _appHost.LogManager).Log(exception);-- ShowMessageBox("Unhandled exception: " + exception.Message);-- if (!Debugger.IsAttached)- {- Environment.Exit(Marshal.GetHRForException(exception));- }- }-- /// <summary>- /// Performs the update if needed.- /// </summary>- /// <param name="appPaths">The app paths.</param>- /// <param name="logger">The logger.</param>- /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>- private static bool PerformUpdateIfNeeded(ServerApplicationPaths appPaths, ILogger logger)- {- return false;- }-- private static void ShowMessageBox(string msg)- {-- }-- public static void Shutdown()- {- DisposeAppHost();-- //_logger.Info("Calling Application.Exit");- //Application.Exit();-- _logger.Info("Calling Environment.Exit");- Environment.Exit(0);-- _logger.Info("Calling ApplicationTaskCompletionSource.SetResult");- ApplicationTaskCompletionSource.SetResult(true);- }-- public static void Restart()- {- DisposeAppHost();-- // todo: start new instance-- Shutdown();- }-- private static void DisposeAppHost()- {- if (!_appHostDisposed)- {- _logger.Info("Disposing app host");-- _appHostDisposed = true;- _appHost.Dispose();- }- }-- /// <summary>- /// Sets the error mode.- /// </summary>- /// <param name="uMode">The u mode.</param>- /// <returns>ErrorModes.</returns>- [DllImport("kernel32.dll")]- static extern ErrorModes SetErrorMode(ErrorModes uMode);-- /// <summary>- /// Enum ErrorModes- /// </summary>- [Flags]- public enum ErrorModes : uint- {- /// <summary>- /// The SYSTE m_ DEFAULT- /// </summary>- SYSTEM_DEFAULT = 0x0,- /// <summary>- /// The SE m_ FAILCRITICALERRORS- /// </summary>- SEM_FAILCRITICALERRORS = 0x0001,- /// <summary>- /// The SE m_ NOALIGNMENTFAULTEXCEPT- /// </summary>- SEM_NOALIGNMENTFAULTEXCEPT = 0x0004,- /// <summary>- /// The SE m_ NOGPFAULTERRORBOX- /// </summary>- SEM_NOGPFAULTERRORBOX = 0x0002,- /// <summary>- /// The SE m_ NOOPENFILEERRORBOX- /// </summary>- SEM_NOOPENFILEERRORBOX = 0x8000- }- }-}diff --git a/src/Emby.Server/Properties/AssemblyInfo.cs b/src/Emby.Server/Properties/AssemblyInfo.csdeleted file mode 100644index 2674312bb4..0000000000--- a/src/Emby.Server/Properties/AssemblyInfo.cs+++ /dev/null@@ -1,19 +0,0 @@-using System.Reflection;-using System.Runtime.CompilerServices;-using System.Runtime.InteropServices;--// General Information about an assembly is controlled through the following-// set of attributes. Change these attribute values to modify the information-// associated with an assembly.-[assembly: AssemblyConfiguration("")]-[assembly: AssemblyCompany("")]-[assembly: AssemblyProduct("Emby.Server")]-[assembly: AssemblyTrademark("")]--// Setting ComVisible to false makes the types in this assembly not visible-// to COM components. If you need to access a type in this assembly from-// COM, set the ComVisible attribute to true on that type.-[assembly: ComVisible(false)]--// The following GUID is for the ID of the typelib if this project is exposed to COM-[assembly: Guid("ddaff431-0b3d-4857-8762-990a32dc8472")]diff --git a/src/Emby.Server/project.json b/src/Emby.Server/project.jsondeleted file mode 100644index e1ff8cbccb..0000000000--- a/src/Emby.Server/project.json+++ /dev/null@@ -1,122 +0,0 @@-{- "version": "3.1.0.1",- "buildOptions": {- "emitEntryPoint": true- },-- "dependencies": {- "Emby.Common.Implementations": "1.0.0-*",- "Emby.Server.Core": "1.0.0-*",- "Microsoft.NETCore.App": {- "type": "platform",- "version": "1.1.0"- },- "Mono.Nat": "1.0.0-*",- "System.Runtime.Extensions": "4.3.0",- "System.Diagnostics.Process": "4.3.0",- "Microsoft.Win32.Registry": "4.3.0",- "SQLitePCLRaw.provider.sqlite3.netstandard11": "1.1.1"- },-- "runtimes": {- "win7-x86": {},- "win7-x64": {},- "win8-x86": {},- "win8-x64": {},- "win8-arm": {},- "win81-x86": {},- "win81-x64": {},- "win81-arm": {},- "win10-x86": {},- "win10-x64": {},- "win10-arm": {},- "win10-arm64": {},- "osx.10.10-x64": {},- "osx.10.11-x64": {},- "osx.10.12-x64": ,- "rhel.7.0-x64": {},- "rhel.7.1-x64": {},- "rhel.7.2-x64": {},- "ubuntu.14.04-x64": {},- "ubuntu.14.10-x64": {},- "ubuntu.15.04-x64": {},- "ubuntu.15.10-x64": {},- "ubuntu.16.04-x64": {},- "ubuntu.16.10-x64": {},- "centos.7-x64": {},- "debian.8-x64": {},- "fedora.23-x64": {},- "fedora.24-x64": {},- "opensuse.13.2-x64": {},- "opensuse.42.1-x64": {},- "ol.7-x64": {},- "ol.7.0-x64": {},- "ol.7.1-x64": {},- "ol.7.2-x64": {}- },-- "frameworks": {- "netcoreapp1.1": {- "imports": "dnxcore50",- "dependencies": {- "BDInfo": {- "target": "project"- },- "DvdLib": {- "target": "project"- },- "Emby.Dlna": {- "target": "project"- },- "Emby.Drawing": {- "target": "project"- },- "Emby.Photos": {- "target": "project"- },- "Emby.Server.Implementations": {- "target": "project"- },- "MediaBrowser.Api": {- "target": "project"- },- "MediaBrowser.Common": {- "target": "project"- },- "MediaBrowser.Controller": {- "target": "project"- },- "MediaBrowser.LocalMetadata": {- "target": "project"- },- "MediaBrowser.MediaEncoding": {- "target": "project"- },- "MediaBrowser.Model": {- "target": "project"- },- "MediaBrowser.Providers": {- "target": "project"- },- "MediaBrowser.Server.Implementations": {- "target": "project"- },- "MediaBrowser.WebDashboard": {- "target": "project"- },- "MediaBrowser.XbmcMetadata": {- "target": "project"- },- "OpenSubtitlesHandler": {- "target": "project"- },- "RSSDP": {- "target": "project"- },- "SocketHttpListener.Portable": {- "target": "project"- }- }- }- }-}