FF-1981: TV Show Lookup using cache

This commit is contained in:
John Andrews
2025-01-30 11:00:44 +13:00
parent 6ebb63b866
commit 9869acde0e

View File

@@ -7,6 +7,7 @@ using FileFlows.Plugin;
using FileFlows.Plugin.Attributes;
using FileFlows.Plugin.Helpers;
using MetaNodes.Helpers;
using Newtonsoft.Json;
namespace MetaNodes.TheMovieDb;
@@ -80,7 +81,7 @@ public class TVShowLookup : Node
TVShowInfo result = args.Cache.GetObject<TVShowInfo>(tvShowInfoCacheKey);
if (result != null)
{
args.Logger?.ILog("Got TV show info from cache: " + result.Name);
args.Logger?.ILog("Got TV show info from cache: " + result.Name + "\n" + System.Text.Json.JsonSerializer.Serialize(result));
}
else
{