only update timeline if videos changed
This commit is contained in:
parent
63cb6039d3
commit
4442a9aaf3
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ class Item(models.Model):
|
|||
folders = list(set([f.folder
|
||||
for f in files.filter(is_video=True, instances__extra=False)]))
|
||||
files = files.filter(folder__startswith=folders[0])
|
||||
if files.filter(active=False).count() > 0:
|
||||
if files.filter(active=False, is_video=True).count() > 0:
|
||||
files.update(active=True)
|
||||
self.rendered = False
|
||||
self.save()
|
||||
|
|
Loading…
Reference in a new issue