diff --git a/FlowPlugins/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.js index ca49452c4..161177524 100644 --- a/FlowPlugins/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.js @@ -63,15 +63,15 @@ var plugin = function (args) { args.jobLog("origFileDuration: ".concat(origFileDuration)); var thresholdSecs = Number(args.inputs.thresholdSecs); var durationText = "File has duration is ".concat(origFileDuration.toFixed(3), " seconds"); - var seriesText = 'File duration within series limits. must be a series.'; - var filmText = 'File duration longer than series limits. must be a film.'; + var belowText = 'File duration is below threshold.'; + var aboveText = 'File duration is above threshold.'; var outputNumber = 1; if (origFileDuration < thresholdSecs) { - args.jobLog("".concat(seriesText, " ").concat(durationText, ", threshold is ").concat(thresholdSecs, " seconds")); + args.jobLog("".concat(belowText, " ").concat(durationText, ", threshold is ").concat(thresholdSecs, " seconds")); outputNumber = 1; } else if (origFileDuration >= thresholdSecs) { - args.jobLog("".concat(filmText, " ").concat(durationText, ", threshold is ").concat(thresholdSecs, " seconds")); + args.jobLog("".concat(aboveText, " ").concat(durationText, ", threshold is ").concat(thresholdSecs, " seconds")); outputNumber = 2; } else { diff --git a/FlowPluginsTs/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.ts index a4f32bc57..54b15a593 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/file/checkFileDuration/1.0.0/index.ts @@ -70,16 +70,16 @@ const plugin = (args: IpluginInputArgs): IpluginOutputArgs => { const thresholdSecs = Number(args.inputs.thresholdSecs); const durationText = `File has duration is ${origFileDuration.toFixed(3)} seconds`; - const seriesText = 'File duration within series limits. must be a series.'; - const filmText = 'File duration longer than series limits. must be a film.'; + const belowText = 'File duration is below threshold.'; + const aboveText = 'File duration is above threshold.'; let outputNumber = 1; if (origFileDuration < thresholdSecs) { - args.jobLog(`${seriesText} ${durationText}, threshold is ${thresholdSecs} seconds`); + args.jobLog(`${belowText} ${durationText}, threshold is ${thresholdSecs} seconds`); outputNumber = 1; } else if (origFileDuration >= thresholdSecs) { - args.jobLog(`${filmText} ${durationText}, threshold is ${thresholdSecs} seconds`); + args.jobLog(`${aboveText} ${durationText}, threshold is ${thresholdSecs} seconds`); outputNumber = 2; } else { args.jobLog(durationText);