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])
if created:
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()
if stream.available:
stream.make_timeline()