Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
c11793d
1
Parent(s):
4d290bc
lol
Browse files
src/bug-in-bun/aitube_ffmpeg/concatenate/concatenateAudio.ts
CHANGED
@@ -49,7 +49,11 @@ export async function concatenateAudio({
|
|
49 |
}
|
50 |
|
51 |
if (audioFilePaths.length === 1) {
|
52 |
-
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
|
55 |
try {
|
|
|
49 |
}
|
50 |
|
51 |
if (audioFilePaths.length === 1) {
|
52 |
+
const outputFilePath = audioFilePaths[0]
|
53 |
+
|
54 |
+
// console.log(" |- there is only one track! so.. returning that")
|
55 |
+
const { durationInSec } = await getMediaInfo(outputFilePath)
|
56 |
+
return { filepath: outputFilePath, durationInSec }
|
57 |
}
|
58 |
|
59 |
try {
|