From e77a67d037cbb414321a12545cc2e6eae0210466 Mon Sep 17 00:00:00 2001 From: karen-hedges <133129444+karen-hedges@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:10:22 +0000 Subject: [PATCH] DMP-4385 Filter out 0 second audios from ATS processing Updated the ATS filtering to filter out audio files that have less than a second start and end time, start or end time is null or start time is after end time --- .../darts/audio/component/impl/OutboundFileProcessorImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java b/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java index 79350cf7df..cc7580ac8c 100644 --- a/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java +++ b/src/main/java/uk/gov/hmcts/darts/audio/component/impl/OutboundFileProcessorImpl.java @@ -104,7 +104,6 @@ public List processAudioForPlaybacks(Map media String audioFilenames = audioFileInfos.stream().map(AudioFileInfo::getMediaFile).collect(Collectors.joining(", ")); List concatenationsList = new ArrayList<>(); - if (isWellFormedAudio(audioFileInfos)) { log.debug("Audio files {} are well formed", audioFilenames);