From 349bf7251ae3be7e3e7b50ea5278530f6f97e367 Mon Sep 17 00:00:00 2001 From: Syed Aman Raza <109358640+electro199@users.noreply.github.com> Date: Fri, 14 Oct 2022 11:06:33 +0500 Subject: [PATCH] bug: fixed audio collection error --- video_creation/final_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_creation/final_video.py b/video_creation/final_video.py index f1481a9..589e3a0 100644 --- a/video_creation/final_video.py +++ b/video_creation/final_video.py @@ -83,7 +83,7 @@ def make_final_video( audio_clips.insert(1,AudioFileClip(f"assets/temp/{id}/mp3/postaudio.mp3")) elif settings.config["settings"]["storymodemethod"] == 1: #here work is not done14 - audio_clips = [AudioFileClip(f"assets/temp/{id}/mp3/posttext-{i}.mp3") for i in track(range(number_of_clips+1),"Collecting the audio files...")] + audio_clips = [AudioFileClip(f"assets/temp/{id}/mp3/postaudio-{i}.mp3") for i in track(range(number_of_clips+1),"Collecting the audio files...")] audio_clips.insert(0, AudioFileClip(f"assets/temp/{id}/mp3/title.mp3")) else: