Commit bdbc70c9 by Simon Chen

Update message so video id displays in the logs

parent 5bfd3971
...@@ -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
......
Markdown is supported
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