diff --git a/pandora/clip/models.py b/pandora/clip/models.py index be8ca2d0..d49f1639 100644 --- a/pandora/clip/models.py +++ b/pandora/clip/models.py @@ -98,6 +98,9 @@ class MetaClip: data['item'] = self.item.public_id data['in'] = self.start data['out'] = self.end + qs = self.annotations.all() + if qs.count(): + data['annotation'] = qs[0].public_id data['parts'] = self.item.json['parts'] data['durations'] = self.item.json['durations'] for key in ('title', 'director', 'year', 'videoRatio'):