mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 19:20:56 -06:00
FF-1981: TV Show Lookup using cache
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user