Unverified Commit cd3d5f30 by Mushtaq Ali Committed by GitHub

Merge pull request #111 from edx/mushtaq/3play-turnaround-levels

Modify 3PlayMedia turnaround levels 
parents 5676e1c4 fc310857
# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-27 09:06
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('edxval', '0008_remove_subtitles'),
]
operations = [
migrations.AlterField(
model_name='transcriptpreference',
name='three_play_turnaround',
field=models.CharField(blank=True, choices=[(b'extended', b'10-Day/Extended'), (b'standard', b'4-Day/Standard'), (b'expedited', b'2-Day/Expedited'), (b'rush', b'24 hour/Rush'), (b'same_day', b'Same Day'), (b'two_hour', b'2 Hour')], max_length=20, null=True, verbose_name=b'3PlayMedia Turnaround'),
),
]
...@@ -512,18 +512,20 @@ class ThreePlayTurnaround(object): ...@@ -512,18 +512,20 @@ class ThreePlayTurnaround(object):
""" """
3PlayMedia turnarounds. 3PlayMedia turnarounds.
""" """
EXTENDED_SERVICE = 'extended_service' EXTENDED = 'extended'
DEFAULT = 'default' STANDARD = 'standard'
EXPEDITED_SERVICE = 'expedited_service' EXPEDITED= 'expedited'
RUSH_SERVICE = 'rush_service' RUSH = 'rush'
SAME_DAY_SERVICE = 'same_day_service' SAME_DAY= 'same_day'
TWO_HOUR = 'two_hour'
CHOICES = ( CHOICES = (
(EXTENDED_SERVICE, '10-Day/Extended'), (EXTENDED, '10-Day/Extended'),
(DEFAULT, '4-Day/Default'), (STANDARD, '4-Day/Standard'),
(EXPEDITED_SERVICE, '2-Day/Expedited'), (EXPEDITED, '2-Day/Expedited'),
(RUSH_SERVICE, '24 hour/Rush'), (RUSH, '24 hour/Rush'),
(SAME_DAY_SERVICE, 'Same Day'), (SAME_DAY, 'Same Day'),
(TWO_HOUR, '2 Hour'),
) )
......
...@@ -398,7 +398,7 @@ TRANSCRIPT_PREFERENCES_CIELO24 = dict( ...@@ -398,7 +398,7 @@ TRANSCRIPT_PREFERENCES_CIELO24 = dict(
TRANSCRIPT_PREFERENCES_3PLAY = dict( TRANSCRIPT_PREFERENCES_3PLAY = dict(
course_id='edX/DemoX/Demo_Course', course_id='edX/DemoX/Demo_Course',
provider=TranscriptProviderType.THREE_PLAY_MEDIA, provider=TranscriptProviderType.THREE_PLAY_MEDIA,
three_play_turnaround=ThreePlayTurnaround.SAME_DAY_SERVICE, three_play_turnaround=ThreePlayTurnaround.SAME_DAY,
preferred_languages=['ar', 'en'], preferred_languages=['ar', 'en'],
video_source_language='en', video_source_language='en',
) )
...@@ -59,11 +59,12 @@ THIRD_PARTY_TRANSCRIPTION_PLANS = { ...@@ -59,11 +59,12 @@ THIRD_PARTY_TRANSCRIPTION_PLANS = {
'3PlayMedia': { '3PlayMedia': {
'display_name': '3Play Media', 'display_name': '3Play Media',
'turnaround': { 'turnaround': {
'same_day_service': 'Same day', 'two_hour': '2 hours',
'rush_service': '24 hours (rush)', 'same_day': 'Same day',
'expedited_service': '2 days (expedited)', 'rush': '24 hours (rush)',
'default': '4 days (default)', 'expedited': '2 days (expedited)',
'extended_service':'10 days (extended)' 'standard': '4 days (standard)',
'extended':'10 days (extended)'
}, },
'languages': { 'languages': {
'en': 'English', 'en': 'English',
......
...@@ -41,7 +41,7 @@ def load_requirements(*requirements_paths): ...@@ -41,7 +41,7 @@ def load_requirements(*requirements_paths):
setup( setup(
name='edxval', name='edxval',
version='0.1.5', version='0.1.6',
author='edX', author='edX',
url='http://github.com/edx/edx-val', url='http://github.com/edx/edx-val',
description='edx-val', description='edx-val',
......
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