Skip to content

Commit 836328f

Browse files
authored
Fix the name of the script being executed for audio derivatives (#1826)
1 parent c03e3e4 commit 836328f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: services-camel-app/src/main/java/edu/unc/lib/boxc/services/camel/audio/AudioEnhancementsRouter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void configure() throws Exception {
5151
.setBody(exchange -> uuidGenerator.generateUuid())
5252
.setHeader(CdrFcrepoHeaders.CdrTempPath, simple("${properties:services.tempDirectory}/${body}-audio"))
5353
.doTry()
54-
.recipientList(simple("exec:/bin/sh?args=${properties:cdr.enhancement.bin}/convertWav.sh "
54+
.recipientList(simple("exec:/bin/sh?args=${properties:cdr.enhancement.bin}/convertAudio.sh "
5555
+ "${headers[CdrAudioPath]} ${headers[CdrTempPath]}"))
5656
.bean(addAudioAccessCopyProcessor)
5757
.endDoTry()

Diff for: services-camel-app/src/test/java/edu/unc/lib/boxc/services/camel/enhancements/EnhancementRouterIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public void init() throws Exception {
131131
FileUtils.writeStringToFile(jp2ScriptFile, "exit 0", "utf-8");
132132
jp2ScriptFile.deleteOnExit();
133133

134-
File audioScriptFile = new File("target/convertWav.sh");
134+
File audioScriptFile = new File("target/convertAudio.sh");
135135
FileUtils.writeStringToFile(audioScriptFile, "exit 0", "utf-8");
136136
audioScriptFile.deleteOnExit();
137137
}

0 commit comments

Comments
 (0)