Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Karwacik
website
Commits
a166ca9c
Commit
a166ca9c
authored
Jan 15, 2018
by
Andreas Valder
Browse files
Merge branch 'master' of git.fsmpi.rwth-aachen.de:videoaginfra/website
parents
68509e96
39d36088
Changes
2
Hide whitespace changes
Inline
Side-by-side
sorter.py
View file @
a166ca9c
...
...
@@ -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
]
...
...
templates/jobs_overview.html
View file @
a166ca9c
{% extends "base.html" %}
{% set page_border = 0 %}
{% block modals %}
{{ super() }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment