From 36e888723f49f7211f8c1f9b089762a0d13b643e Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 28 Sep 2022 22:31:27 +0000 Subject: [PATCH] Mark autostepper entries processed --- .../nat-archive-tool/src/nat/systems/AutoStepperSystem.kiss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/nat-archive-tool/src/nat/systems/AutoStepperSystem.kiss b/projects/nat-archive-tool/src/nat/systems/AutoStepperSystem.kiss index 793c9308..98d1a640 100644 --- a/projects/nat-archive-tool/src/nat/systems/AutoStepperSystem.kiss +++ b/projects/nat-archive-tool/src/nat/systems/AutoStepperSystem.kiss @@ -7,7 +7,7 @@ ->[archive e mp3Files &opt ui] (unless (tagsMatch e "stepperProcessed") (doFor file mp3Files - (localFunction runAutoStepper [] + (localFunction :Void runAutoStepper [] (try { (ui.displayMessage "autoStepping $file") @@ -15,8 +15,7 @@ java -jar "${jarPath}" input="$(archive.filePath file)" duration=130 hard=true ``` (ui.displayMessage "done autostepping $file") - // TODO attach the simfile and tag this as processed after ALL mp3 threads finish - **(addTags archive e ["stepperProcessed"]) + (addTags archive e ["stepperProcessed"]) } (catch [e] (ui.displayMessage "failed autostepping $file"))))