Skip to content

Commit 6495fdb

Browse files
authored
Remove noisy progress logs from audio processor - now that it's worked, we mainly need to know when it starts and when it ends (#2111)
1 parent 652d0b3 commit 6495fdb

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

functions/src/events/scrapeEvents.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,6 @@ const extractAudioFromVideo = async (
166166
.on("start", commandLine => {
167167
console.log(`Spawned FFmpeg with command: ${commandLine}`)
168168
})
169-
.on("progress", progress => {
170-
if (
171-
progress &&
172-
progress.percent &&
173-
Math.round(progress.percent) % 10 === 0
174-
) {
175-
console.log(`Processing: ${progress.percent}% done`)
176-
}
177-
})
178169
.on("end", () => {
179170
console.log("FFmpeg processing finished successfully")
180171
resolve()

0 commit comments

Comments
 (0)