added Failure nodes and started working on ffmpeg metadata node

This commit is contained in:
John Andrews
2022-04-17 15:35:03 +12:00
parent b740894f99
commit e5f2489a43
47 changed files with 533 additions and 179 deletions
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@ namespace CollectionNodes
public class Plugin : IPlugin
{
public string Name => "Collection Nodes";
public string MinimumVersion => "0.5.0.683";
public string MinimumVersion => "0.5.2.690";
[Folder(1)]
[Required]
+9 -1
View File
@@ -18,7 +18,6 @@ namespace CollectionNodes.Tests
public void ILog(params object[] args) => Log("INFO", args);
public void WLog(params object[] args) => Log("WARN", args);
private void Log(string type, object[] args)
{
if (args == null || args.Length == 0)
@@ -39,6 +38,15 @@ namespace CollectionNodes.Tests
string log = string.Join(Environment.NewLine, Messages);
return log.Contains(message);
}
public string GetTail(int length = 50)
{
if (length <= 0)
length = 50;
if (Messages.Count <= length)
return string.Join(Environment.NewLine, Messages);
return string.Join(Environment.NewLine, Messages.TakeLast(length));
}
}
}