Skip to content

Commit

Permalink
Add new templates
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed Oct 9, 2023
1 parent 4775ce3 commit aa594ec
Show file tree
Hide file tree
Showing 4 changed files with 702 additions and 0 deletions.
181 changes: 181 additions & 0 deletions FlowPlugins/CommunityFlowTemplates/tutorials/chapter4p4.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
"use strict";
/* eslint-disable no-template-curly-in-string */
/* eslint-disable import/prefer-default-export */
Object.defineProperty(exports, "__esModule", { value: true });
exports.details = void 0;
var details = function () { return ({
"name": "Chapter 4: Flow Errors Part 4 - Resetting Flow Errors",
"description": "Chapter 4: Flow Errors Part 4 - Resetting Flow Errors",
"tags": "",
"flowPlugins": [
{
"name": "Input File",
"sourceRepo": "Community",
"pluginName": "inputFile",
"version": "1.0.0",
"id": "kc2oWbzdg",
"position": {
"x": 792.9115444209641,
"y": 72.86840721125132
}
},
{
"name": "Begin Command",
"sourceRepo": "Community",
"pluginName": "ffmpegCommandStart",
"version": "1.0.0",
"id": "MttLdH9JH",
"position": {
"x": 656.7168106666427,
"y": 259.68513570736866
}
},
{
"name": "Execute",
"sourceRepo": "Community",
"pluginName": "ffmpegCommandExecute",
"version": "1.0.0",
"id": "SUV-PcTXK",
"position": {
"x": 656.3361499796371,
"y": 466.43606780911165
}
},
{
"name": "Set Video Encoder",
"sourceRepo": "Community",
"pluginName": "ffmpegCommandSetVideoEncoder",
"version": "1.0.0",
"id": "OZTQfLxQU",
"position": {
"x": 657.071898477293,
"y": 356.04954686544056
}
},
{
"name": "Send Web Request",
"sourceRepo": "Community",
"pluginName": "webRequest",
"version": "1.0.0",
"id": "alp4lZYtu",
"position": {
"x": 939.7604719407238,
"y": 380.4448835288041
}
},
{
"name": "Once a flow error occurs, even if subsequent plugins run successfully, the item will still be moved to the 'Transcode: Error/Cancelled' tab after the final plugin has finished, as would happen if the flow ended here.",
"sourceRepo": "Community",
"pluginName": "comment",
"version": "1.0.0",
"id": "uyAA1bj79",
"position": {
"x": 1114.7604719407238,
"y": 318.4448835288041
}
},
{
"name": "Reset Flow Error",
"sourceRepo": "Community",
"pluginName": "resetFlowError",
"version": "1.0.0",
"id": "_DZqwYTaP",
"position": {
"x": 1005.7604719407236,
"y": 547.4448835288041
}
},
{
"name": "HandBrake Custom Arguments",
"sourceRepo": "Community",
"pluginName": "handbrakeCustomArguments",
"version": "1.0.0",
"id": "pX08BTxw7",
"position": {
"x": 1126.7604719407238,
"y": 697.4448835288041
}
},
{
"name": "Replace Original File",
"sourceRepo": "Community",
"pluginName": "replaceOriginalFile",
"version": "1.0.0",
"id": "0QGXt-4Zi",
"position": {
"x": 855.7604719407237,
"y": 853.4448835288041
}
},
{
"name": "Use this plugin to reset the flow error status. You can then attempt a new way of processing the file",
"sourceRepo": "Community",
"pluginName": "comment",
"version": "1.0.0",
"id": "aWlDgeStq",
"position": {
"x": 1176.7604719407238,
"y": 531.4448835288041
}
}
],
"flowEdges": [
{
"source": "kc2oWbzdg",
"sourceHandle": "1",
"target": "MttLdH9JH",
"targetHandle": null,
"id": "T43cHyOAu"
},
{
"source": "MttLdH9JH",
"sourceHandle": "1",
"target": "OZTQfLxQU",
"targetHandle": null,
"id": "jqX_8_fKY"
},
{
"source": "OZTQfLxQU",
"sourceHandle": "1",
"target": "SUV-PcTXK",
"targetHandle": null,
"id": "-1tj4OiNV"
},
{
"source": "OZTQfLxQU",
"sourceHandle": "err1",
"target": "alp4lZYtu",
"targetHandle": null,
"id": "LOQaBxuai"
},
{
"source": "pX08BTxw7",
"sourceHandle": "1",
"target": "0QGXt-4Zi",
"targetHandle": null,
"id": "VMBnPqvzU"
},
{
"source": "SUV-PcTXK",
"sourceHandle": "1",
"target": "0QGXt-4Zi",
"targetHandle": null,
"id": "wsDY8MYki"
},
{
"source": "alp4lZYtu",
"sourceHandle": "1",
"target": "_DZqwYTaP",
"targetHandle": null,
"id": "g9tDFsL5p"
},
{
"source": "_DZqwYTaP",
"sourceHandle": "1",
"target": "pX08BTxw7",
"targetHandle": null,
"id": "YwFpa-_YC"
}
]
}); };
exports.details = details;
166 changes: 166 additions & 0 deletions FlowPlugins/CommunityFlowTemplates/tutorials/chapter7.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
"use strict";
/* eslint-disable no-template-curly-in-string */
/* eslint-disable import/prefer-default-export */
Object.defineProperty(exports, "__esModule", { value: true });
exports.details = void 0;
var details = function () { return ({
"name": "Chapter 7: Using an Output Folder",
"description": "Chapter 7: Using an Output Folder",
"tags": "",
"flowPlugins": [
{
"name": "Input File",
"sourceRepo": "Community",
"pluginName": "inputFile",
"version": "1.0.0",
"id": "y4lqcdrho",
"position": {
"x": 657.6098846576496,
"y": 83.73457282843094
}
},
{
"name": "Check Video Codec",
"sourceRepo": "Community",
"pluginName": "checkVideoCodec",
"version": "1.0.0",
"id": "x4UqtuCK9",
"position": {
"x": 546.5579603766718,
"y": 179.82684381124744
}
},
{
"name": "Begin Command",
"sourceRepo": "Community",
"pluginName": "ffmpegCommandStart",
"version": "1.0.0",
"id": "6a0HyfVUa",
"position": {
"x": 394.21161179985006,
"y": 264.2702484509714
}
},
{
"name": "Execute",
"sourceRepo": "Community",
"pluginName": "ffmpegCommandExecute",
"version": "1.0.0",
"id": "OBbLCZ8SO",
"position": {
"x": 395.9527129264425,
"y": 467.9790802622644
}
},
{
"name": "Set Video Encoder",
"sourceRepo": "Community",
"pluginName": "ffmpegCommandSetVideoEncoder",
"version": "1.0.0",
"id": "nvhiecc42",
"position": {
"x": 395.95271292644225,
"y": 360.03081041354505
}
},
{
"name": "Move To Directory",
"sourceRepo": "Community",
"pluginName": "moveToDirectory",
"version": "2.0.0",
"id": "8ffv7PWIl",
"position": {
"x": 586.6032862882935,
"y": 587.2445074338334
},
"inputsDB": {
"outputDirectory": "/example"
}
},
{
"name": "By default, the final working file in the flow is what will be kept in the Tdarr database and will appear in the 'Transcode: Success/Not required' table. If the flow were to end here, the new file in the output folder would be kept in the Tdarr database.",
"sourceRepo": "Community",
"pluginName": "comment",
"version": "1.0.0",
"id": "XJEBW_sGy",
"position": {
"x": 792.5819966148043,
"y": 513.4182522751619
}
},
{
"name": "Set Original File",
"sourceRepo": "Community",
"pluginName": "setOriginalFile",
"version": "1.0.0",
"id": "X4K2UoPuU",
"position": {
"x": 587.1019377136648,
"y": 787.596766284271
}
},
{
"name": "To have the original file be kept in the Tdarr database, use the 'Set Original File' plugin which will set the working file to the original file.",
"sourceRepo": "Community",
"pluginName": "comment",
"version": "1.0.0",
"id": "yXP0EZrMk",
"position": {
"x": 777.1019377136646,
"y": 787.596766284271
}
}
],
"flowEdges": [
{
"source": "y4lqcdrho",
"sourceHandle": "1",
"target": "x4UqtuCK9",
"targetHandle": null,
"id": "c6kYE6bDM"
},
{
"source": "x4UqtuCK9",
"sourceHandle": "1",
"target": "8ffv7PWIl",
"targetHandle": null,
"id": "odwp-30JQ"
},
{
"source": "x4UqtuCK9",
"sourceHandle": "2",
"target": "6a0HyfVUa",
"targetHandle": null,
"id": "87bCwwur4"
},
{
"source": "6a0HyfVUa",
"sourceHandle": "1",
"target": "nvhiecc42",
"targetHandle": null,
"id": "kYgiFcdHk"
},
{
"source": "nvhiecc42",
"sourceHandle": "1",
"target": "OBbLCZ8SO",
"targetHandle": null,
"id": "guA5aTucK"
},
{
"source": "OBbLCZ8SO",
"sourceHandle": "1",
"target": "8ffv7PWIl",
"targetHandle": null,
"id": "PgL3EQtsQ"
},
{
"source": "8ffv7PWIl",
"sourceHandle": "1",
"target": "X4K2UoPuU",
"targetHandle": null,
"id": "JX7tzmso3"
}
]
}); };
exports.details = details;
Loading

0 comments on commit aa594ec

Please sign in to comment.