This commit is contained in:
j 2011-10-21 20:05:39 +02:00
parent b9b861a3e8
commit f33f4ba45e

View file

@ -489,6 +489,7 @@ class Stream(models.Model):
extract.timeline(self.video.path, self.timeline_prefix) extract.timeline(self.video.path, self.timeline_prefix)
self.cuts = tuple(extract.cuts(self.timeline_prefix)) self.cuts = tuple(extract.cuts(self.timeline_prefix))
self.color = tuple(extract.average_color(self.timeline_prefix)) self.color = tuple(extract.average_color(self.timeline_prefix))
self.save()
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
if self.video and not self.info: if self.video and not self.info: