update poster after extracting stream

This commit is contained in:
j 2016-08-05 15:24:54 +02:00
parent c4a95bc320
commit dce51305ce
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ from django.conf import settings
from django.db.models import Q
from item.models import Item
from item.tasks import update_poster
import models
import extract
import external
@ -138,6 +139,7 @@ def extract_stream(fileId):
# get current version from db
file = models.File.objects.get(id=fileId)
file.item.update_timeline()
update_poster(file.item.public_id)
file.extract_tracks()
models.File.objects.filter(id=fileId).update(encoding=False)