Fixes to get voice working properly, not fully confident it'll work under pressure but it's done well in small tests
This commit is contained in:
@@ -169,11 +169,11 @@ def mix_audio_with_ffmpeg(files: list[TranscriptableFile], media_folder_path: st
|
||||
|
||||
output_file_name = Path(
|
||||
media_folder_path,
|
||||
call_id,
|
||||
str(call_id),
|
||||
"output.mp3" if is_final_pass else "intermediate-" + "".join(random.choices(string.ascii_uppercase + string.digits, k=10)) + ".mp3"
|
||||
)
|
||||
|
||||
command_list.append(output_file_name)
|
||||
command_list.append(str(output_file_name))
|
||||
|
||||
# TODO shell = True isn't great, I don't remember the reason why it has to be this way
|
||||
# I *think* it had something to do with me not using ffmpeg's absolute path
|
||||
|
||||
Reference in New Issue
Block a user