Commit 5f7eb451 authored by Julian Rother's avatar Julian Rother
Browse files

Remux videos after autoencoding finished

parent 3cabc9d6
......@@ -483,8 +483,8 @@ import stats
if 'ICAL_URL' in config:
import meetings
import l2pauth
from encoding import schedule_remux
import sorter
import encoding
import timetable
import chapters
import icalexport
......@@ -84,6 +84,7 @@ def insert_transcoded_video(jobid, jobtype, data, state, status):
data['lecture_id'], visible, data['output']['path'], data['format_id'],,,, -1, status['hash'],
status['filesize'], data['source_id'], status['duration'])
schedule_remux(data['lecture_id'], video_id)
video = query('SELECT videos.*, "format" AS sep, formats.* FROM videos JOIN formats ON = videos.video_format WHERE = ?', video_id)[0]
lecture = query('SELECT * FROM lectures WHERE id = ?', data['lecture_id'])[0]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment