fix upload

This commit is contained in:
j 2013-05-07 11:36:07 +02:00
parent 498213f222
commit 251cc12d38

View file

@ -113,7 +113,7 @@ def extract_stream(fileId):
format=config['formats'][0]) format=config['formats'][0])
if created: if created:
models.File.objects.filter(id=fileId).update(encoding=True) models.File.objects.filter(id=fileId).update(encoding=True)
stream.video.name = stream.path(stream.name()) stream.media.name = stream.path(stream.name())
stream.encode() stream.encode()
if stream.available: if stream.available:
stream.make_timeline() stream.make_timeline()