update task after updating item
This commit is contained in:
parent
1dd574cb9e
commit
11e36b550e
1 changed files with 2 additions and 2 deletions
|
@ -135,8 +135,8 @@ def process_stream(fileId):
|
|||
file.item.update_timeline()
|
||||
if file.item.rendered:
|
||||
file.item.save()
|
||||
Task.finish(file.item)
|
||||
models.File.objects.filter(id=fileId).update(encoding=False)
|
||||
Task.finish(file.item)
|
||||
return True
|
||||
|
||||
@task(queue="encoding")
|
||||
|
@ -164,8 +164,8 @@ def extract_stream(fileId):
|
|||
file.item.update_timeline()
|
||||
update_poster(file.item.public_id)
|
||||
file.extract_tracks()
|
||||
Task.finish(file.item)
|
||||
models.File.objects.filter(id=fileId).update(encoding=False)
|
||||
Task.finish(file.item)
|
||||
|
||||
@task(queue="encoding")
|
||||
def extract_derivatives(fileId, rebuild=False):
|
||||
|
|
Loading…
Reference in a new issue