From 86da9029c64a336e0a3bd2d385858b7c2e776c54 Mon Sep 17 00:00:00 2001 From: muhammad-ammar Date: Fri, 16 Mar 2018 15:15:46 +0500 Subject: [PATCH] fix platform url assignment EDUCATOR-2517 --- control/veda_deliver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/control/veda_deliver.py b/control/veda_deliver.py index bf8f883..9df97d1 100644 --- a/control/veda_deliver.py +++ b/control/veda_deliver.py @@ -179,7 +179,8 @@ def hls_run(self): client_title=self.video_query.client_title, duration=self.video_query.video_orig_duration, bitrate='0', - s3_filename=self.video_query.studio_id + s3_filename=self.video_query.studio_id, + platform_course_url=self.video_query.inst_class.course_runs ) self.encode_query = Encode.objects.get( product_spec=self.encode_profile @@ -256,8 +257,7 @@ def _INFORM_INTAKE(self): Further information for VAL """ self.video_proto.veda_id = self.video_query.edx_id - self.video_proto.platform_course_url = \ - [i for i in self.video_query.inst_class.local_storedir.split(',')] + self.video_proto.platform_course_url = self.video_query.inst_class.course_runs self.video_proto.client_title = self.video_query.client_title def _VALIDATE(self):