Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-video-worker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-video-worker
Commits
bdbc70c9
Commit
bdbc70c9
authored
Apr 18, 2018
by
Simon Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update message so video id displays in the logs
parent
5bfd3971
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
video_worker/__init__.py
+5
-5
No files found.
video_worker/__init__.py
View file @
bdbc70c9
...
@@ -4,7 +4,6 @@ Generate a serial transcode stream from a VEDA instance via Celery.
...
@@ -4,7 +4,6 @@ Generate a serial transcode stream from a VEDA instance via Celery.
import
boto
import
boto
import
logging
import
logging
import
nose
import
os
import
os
import
subprocess
import
subprocess
import
shutil
import
shutil
...
@@ -86,10 +85,7 @@ class VideoWorker(object):
...
@@ -86,10 +85,7 @@ class VideoWorker(object):
self
.
VideoObject
=
Video
(
self
.
VideoObject
=
Video
(
veda_id
=
self
.
veda_id
,
veda_id
=
self
.
veda_id
,
)
)
logger
.
info
(
'[ENCODE_WORKER] {id} | {encoding} : Ready for Encode'
.
format
(
id
=
self
.
VideoObject
.
val_id
,
encoding
=
self
.
encode_profile
))
if
self
.
source_file
is
not
None
:
if
self
.
source_file
is
not
None
:
self
.
VideoObject
.
mezz_filepath
=
os
.
path
.
join
(
self
.
VideoObject
.
mezz_filepath
=
os
.
path
.
join
(
self
.
workdir
,
self
.
workdir
,
...
@@ -104,6 +100,10 @@ class VideoWorker(object):
...
@@ -104,6 +100,10 @@ class VideoWorker(object):
if
not
os
.
path
.
exists
(
self
.
workdir
):
if
not
os
.
path
.
exists
(
self
.
workdir
):
os
.
mkdir
(
self
.
workdir
)
os
.
mkdir
(
self
.
workdir
)
logger
.
info
(
'[ENCODE_WORKER] {id} | {encoding} : Ready for Encode'
.
format
(
id
=
self
.
VideoObject
.
val_id
,
encoding
=
self
.
encode_profile
))
# Pipeline Steps :
# Pipeline Steps :
# I. Intake
# I. Intake
# Ib. Validate Mezz
# Ib. Validate Mezz
...
...
Write
Preview
Markdown
is supported
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