Actions13
- Video Actions
- Audio Actions
- Text Actions
- Image Actions
- Font Actions
Overview
This node, part of the MediaFX collection, provides media processing capabilities including video, audio, image, subtitle, and font operations using FFmpeg. Specifically for the Font - Delete operation, it allows users to delete a user-uploaded font from the system.
Common scenarios where this node is beneficial include managing custom fonts used in video or subtitle rendering workflows. For example, if you have uploaded several fonts for adding subtitles or text overlays on videos, but some are no longer needed, you can use this node to clean up unused fonts by deleting them.
Practical example:
- You have uploaded a custom font "MyCustomFont" for styling subtitles.
- After finishing your project, you want to remove "MyCustomFont" to keep your environment tidy.
- Using this node with Resource set to "Font" and Operation set to "Delete", select "MyCustomFont" from the font list and execute the node to delete it.
Properties
| Name | Meaning |
|---|---|
| Font Key | The identifier of the font to delete. Options are dynamically loaded from the user's uploaded fonts. This property is required. |
Output
The output JSON contains a success message confirming the deletion of the specified font. The structure is:
{
"success": true,
"operation": "delete",
"data": {
"message": "Font '<fontKey>' deleted successfully."
}
}
No binary data is produced by this operation.
Dependencies
- The node relies on internal utility functions to manage fonts, including retrieving user fonts and deleting them.
- No external API keys or services are required.
- It requires access to the file system where user fonts are stored.
- The node uses FFmpeg for other media operations, but not specifically for font deletion.
Troubleshooting
Error: Font file not found or font key invalid
Ensure that the font key selected corresponds to an existing user-uploaded font. If the font was already deleted or never uploaded, the operation will fail.Permission issues when deleting fonts
The node needs appropriate permissions to modify or delete font files on the server. Verify file system permissions.Operation did not produce an output error
This should not occur for the delete operation if the font key is valid. If encountered, check that the correct resource ("Font") and operation ("Delete") are selected.
Links and References
- FFmpeg Official Site – underlying tool used for media processing in the broader node functionality.
- n8n Documentation – for general guidance on creating and using custom nodes.
