FF-1659: Improved tv show lookups

This commit is contained in:
John Andrews
2024-06-28 10:39:35 +12:00
parent 14466591da
commit 8472be2c4b
55 changed files with 825 additions and 238 deletions

View File

@@ -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>

View File

@@ -7,6 +7,9 @@ using FileHelper = FileFlows.Plugin.Helpers.FileHelper;
namespace BasicNodes.Tests;
/// <summary>
/// Local file service
/// </summary>
public class LocalFileService : IFileService
{
/// <summary>

View File

@@ -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);
}