mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-29 10:40:30 -06:00
FF-1659: Improved tv show lookups
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
<FileVersion>1.1.1.528</FileVersion>
|
||||
<ProductVersion>1.1.1.528</ProductVersion>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<Company>FileFlows</Company>
|
||||
<Authors>John Andrews</Authors>
|
||||
<Product>Basic</Product>
|
||||
|
||||
@@ -7,6 +7,9 @@ using FileHelper = FileFlows.Plugin.Helpers.FileHelper;
|
||||
|
||||
namespace BasicNodes.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// Local file service
|
||||
/// </summary>
|
||||
public class LocalFileService : IFileService
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -57,13 +57,11 @@ public class TestLogger : ILogger
|
||||
/// <param name="args">the arguments of the message</param>
|
||||
private void Log(LogType type, params object[] args)
|
||||
{
|
||||
#pragma warning disable IL2026
|
||||
string message = type + " -> " + string.Join(", ", args.Select(x =>
|
||||
x == null ? "null" :
|
||||
x.GetType().IsPrimitive ? x.ToString() :
|
||||
x is string ? x.ToString() :
|
||||
System.Text.Json.JsonSerializer.Serialize(x)));
|
||||
#pragma warning restore IL2026
|
||||
Writer?.Invoke(message);
|
||||
Messages.Add(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user