update poster after processing stream
This commit is contained in:
parent
b3c8a61ce6
commit
78c26daaeb
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ def process_stream(fileId):
|
||||||
if not file.item.rendered \
|
if not file.item.rendered \
|
||||||
and not file.item.files.exclude(id=fileId).filter(Q(queued=True) | Q(encoding=True)).count():
|
and not file.item.files.exclude(id=fileId).filter(Q(queued=True) | Q(encoding=True)).count():
|
||||||
file.item.update_timeline()
|
file.item.update_timeline()
|
||||||
|
update_poster(file.item.public_id)
|
||||||
if file.item.rendered:
|
if file.item.rendered:
|
||||||
file.item.save()
|
file.item.save()
|
||||||
models.File.objects.filter(id=fileId).update(encoding=False)
|
models.File.objects.filter(id=fileId).update(encoding=False)
|
||||||
|
|
Loading…
Reference in a new issue