mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-05 04:15:08 -05:00
fix(blocks): strip chapter metadata from audio files in add_audio block
Audio files (especially audiobooks, podcasts) can have chapter metadata that causes MoviePy to crash with IndexError. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -78,6 +78,7 @@ class AddAudioToVideoBlock(Block):
|
||||
|
||||
# 2) Load video + audio with moviepy
|
||||
strip_chapters_inplace(video_abspath)
|
||||
strip_chapters_inplace(audio_abspath)
|
||||
video_clip = None
|
||||
audio_clip = None
|
||||
final_clip = None
|
||||
|
||||
Reference in New Issue
Block a user