git-svn-id: http://yolanda.mister-muffin.de/svn@403 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2008-12-03 04:17:12 +00:00
parent 5ffe89f08d
commit f77fa6a2c8

View file

@ -111,7 +111,7 @@ class UploadController(BaseController):
videodestination=os.path.join(config['pylons.paths']['static_files'], "videos", str(video.id)) videodestination=os.path.join(config['pylons.paths']['static_files'], "videos", str(video.id))
imagedestination=os.path.join(config['pylons.paths']['static_files'], "video-stills", str(video.id)) imagedestination=os.path.join(config['pylons.paths']['static_files'], "video-stills", str(video.id))
# start encoding unt snapshot threads in background # start encoding thread in background
threading.Thread(target=self.bgencode, args=(videosource, videodestination, imagedestination)).start() threading.Thread(target=self.bgencode, args=(videosource, videodestination, imagedestination)).start()
# return 'Successfully uploaded: %s'%video.query.all() # return 'Successfully uploaded: %s'%video.query.all()