Suggested changes.

This commit is contained in:
Greenback
2020-12-15 09:29:51 +00:00
parent 41466c430d
commit dddcfa6dbb
11 changed files with 32 additions and 41 deletions

View File

@@ -393,8 +393,7 @@ namespace Emby.Server.Implementations
if (_creatingInstances.IndexOf(type) != -1)
{
Logger.LogError("DI Loop detected.");
Logger.LogError("Attempted creation of {Type}", type.FullName);
Logger.LogError("DI Loop detected in the attempted creation of {Type}", type.FullName);
foreach (var entry in _creatingInstances)
{
Logger.LogError("Called from: {stack}", entry.FullName);

View File

@@ -73,12 +73,5 @@
<EmbeddedResource Include="Localization\countries.json" />
<EmbeddedResource Include="Localization\Core\*.json" />
<EmbeddedResource Include="Localization\Ratings\*.csv" />
<EmbeddedResource Include="Plugins\blank.png" />
<EmbeddedResource Include="Plugins\Superceded.png" />
<EmbeddedResource Include="Plugins\Disabled.png" />
<EmbeddedResource Include="Plugins\NotSupported.png" />
<EmbeddedResource Include="Plugins\Malfunction.png" />
<EmbeddedResource Include="Plugins\RestartRequired.png" />
<EmbeddedResource Include="Plugins\Active.png" />
</ItemGroup>
</Project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,7 +1,6 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
@@ -23,8 +22,6 @@ namespace Emby.Server.Implementations
/// </summary>
public class PluginManager : IPluginManager
{
private const int OffsetFromTopRightCorner = 38;
private readonly string _pluginsPath;
private readonly Version _appVersion;
private readonly JsonSerializerOptions _jsonOptions;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B