forked from 0x2620/pandora
fix streams for static edits
This commit is contained in:
parent
b4074303ba
commit
9685c7e4a5
1 changed files with 2 additions and 1 deletions
|
@ -493,6 +493,7 @@ class Clip(models.Model):
|
|||
data['duration'] = data['out'] - data['in']
|
||||
data['cuts'] = tuple([c for c in self.item.get('cuts', []) if c > self.start and c < self.end])
|
||||
data['layers'] = self.get_layers(user)
|
||||
data['streams'] = [s.file.oshash for s in self.item.streams()]
|
||||
return data
|
||||
|
||||
def get_annotations(self):
|
||||
|
|
Loading…
Reference in a new issue