The Free Software Media System - Server Backend & API
Updated to master
Jim Cartlidge5edf24db5c0a
diff --cc Emby.Server.Implementations/ApplicationHost.csindex 67a352fc93,7a46fdf2e7..a95cfea07c--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@@ -119,7 -119,9 +121,8 @@@ namespace Emby.Server.Implementationprivate static readonly string[] _relevantEnvVarPrefixes = { "JELLYFIN_", "DOTNET_", "ASPNETCORE_" };private readonly IFileSystem _fileSystemManager;- private readonly INetworkManager _networkManager;private readonly IXmlSerializer _xmlSerializer;+ private readonly IJsonSerializer _jsonSerializer;private readonly IStartupOptions _startupOptions;private IMediaEncoder _mediaEncoder;@@@ -259,8 -257,14 +262,10 @@@IServiceCollection serviceCollection){_xmlSerializer = new MyXmlSerializer();+ _jsonSerializer = new JsonSerializer();+ServiceCollection = serviceCollection;- _networkManager = networkManager;- networkManager.LocalSubnetsFn = GetConfiguredLocalSubnets;-ApplicationPaths = applicationPaths;LoggerFactory = loggerFactory;_fileSystemManager = fileSystem;diff --cc Emby.Server.Implementations/Emby.Server.Implementations.csprojindex db81167433,c84c7b53df..0793526271--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj@@@ -32,11 -32,11 +32,11 @@@<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" /><PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" /><PackageReference Include="Microsoft.AspNetCore.WebSockets" Version="2.2.1" />- <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.7" />- <PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.1.7" />- <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.7" />- <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.7" />+ <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.8" />+ <PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.1.8" />+ <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.8" />+ <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.8" />- <PackageReference Include="Mono.Nat" Version="2.0.2" />+ <PackageReference Include="Mono.Nat" Version="3.0.0" /><PackageReference Include="prometheus-net.DotNetRuntime" Version="3.4.0" /><PackageReference Include="ServiceStack.Text.Core" Version="5.9.2" /><PackageReference Include="sharpcompress" Version="0.26.0" />diff --cc MediaBrowser.Common/MediaBrowser.Common.csprojindex 8de2ab8d8d,322740cca8..792a5c29c3--- a/MediaBrowser.Common/MediaBrowser.Common.csproj+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj@@@ -18,11 -18,10 +18,11 @@@</ItemGroup><ItemGroup>- <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.7" />- <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.7" />- <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />+ <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="3.1.8" />+ <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.8" />+ <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/><PackageReference Include="Microsoft.Net.Http.Headers" Version="2.2.8" />+ <PackageReference Include="NetworkCollection" Version="1.0.1" /></ItemGroup><ItemGroup>