forked from 0x2620/pandora
save
This commit is contained in:
parent
b9b861a3e8
commit
f33f4ba45e
1 changed files with 1 additions and 0 deletions
|
@ -489,6 +489,7 @@ class Stream(models.Model):
|
|||
extract.timeline(self.video.path, self.timeline_prefix)
|
||||
self.cuts = tuple(extract.cuts(self.timeline_prefix))
|
||||
self.color = tuple(extract.average_color(self.timeline_prefix))
|
||||
self.save()
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if self.video and not self.info:
|
||||
|
|
Loading…
Reference in a new issue