FF-1024 - added flow element to remove attachments

This commit is contained in:
John Andrews
2023-07-22 10:48:50 +12:00
parent 6c07fc0822
commit 3ba36030e3
4 changed files with 45 additions and 3 deletions
@@ -0,0 +1,26 @@
namespace FileFlows.VideoNodes.FfmpegBuilderNodes;
public class FfmpegBuilderRemoveAttachments : FfmpegBuilderNode
{
/// <summary>
/// Gets the Help Url
/// </summary>
public override string HelpUrl =>
"https://fileflows.com/docs/plugins/video-nodes/ffmpeg-builder/remove-attachments";
/// <summary>
/// Gets the number of outputs
/// </summary>
public override int Outputs => 1;
/// <summary>
/// Gets the icon
/// </summary>
public override string Icon => "fas fa-paperclip";
public override int Execute(NodeParameters args)
{
Model.RemoveAttachments = true;
return 1;
}
}