Skip to content
Snippets Groups Projects
Commit 39d36088 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed #355

parent 71457579
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ def insert_transcoded_video(jobid, jobtype, data, state, status):
(?, ?, ?, ?, "", "", "", ?, ?, ?, ?, ?, ?, ?, ?)''',
data['lecture_id'], visible, data['output']['path'], data['format_id'],
datetime.now(), datetime.now(), datetime.now(), -1, status['hash'],
status['filesize'], status['duration'], data['source_id'])
status['filesize'], data['source_id'], status['duration'])
schedule_thumbnail(data['lecture_id'])
video = query('SELECT videos.*, "format" AS sep, formats.* FROM videos JOIN formats ON formats.id = videos.video_format WHERE videos.id = ?', video_id)[0]
lecture = query('SELECT * FROM lectures WHERE id = ?', data['lecture_id'])[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment