mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-05-08 04:59:09 -05:00
FF-1024 - added flow element to remove attachments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user