From 3a367e8c734b693db43c94f27109cec9bde91a16 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 28 Oct 2023 11:25:45 +0200 Subject: [PATCH] handle animation clips --- management/commands/generate_clips.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/management/commands/generate_clips.py b/management/commands/generate_clips.py index 1f22450..3b56c35 100644 --- a/management/commands/generate_clips.py +++ b/management/commands/generate_clips.py @@ -43,6 +43,8 @@ class Command(BaseCommand): clip['editingtags'] = i.data.get('editingtags', []) if "original" in clip and "foreground" in clip and "background" in clip: clips.append(clip) + elif "original" in clip and "animation" in clip: + clips.append(clip) else: print("ignoring incomplete video", i)