Skip to content

Video editing with Python

Now moviepy.editor defines the shortcut audioclip.audio_loop

Zulko33112fcea69c
diff --git a/moviepy/editor.py b/moviepy/editor.py
index 66ba5cd2..0848f402 100644
--- a/moviepy/editor.py
+++ b/moviepy/editor.py
@@ -65,7 +65,7 @@ for method in ["vfx.crop",
for method in ["afx.audio_fadein",
"afx.audio_fadeout",
- "vfx.loop",
+ "afx.audio_loop",
"afx.volumex"]:
exec("AudioClip.%s = %s"%( method.split('.')[1], method))