load editing tags

This commit is contained in:
j 2023-10-19 15:52:35 +01:00
parent 4491abc277
commit 6071b71752

View file

@ -38,6 +38,7 @@ class Command(BaseCommand):
durations.append(e.files.all()[0].duration) durations.append(e.files.all()[0].duration)
clip["duration"] = min(durations) clip["duration"] = min(durations)
clip['tags'] = i.data.get('tags', []) clip['tags'] = i.data.get('tags', [])
clip['editingtags'] = i.data.get('editingtags', [])
if "original" in clip and "foreground" in clip and "background" in clip: if "original" in clip and "foreground" in clip and "background" in clip:
clips.append(clip) clips.append(clip)
else: else: