Skip to content

Update the get_transcript util with html5_sources - #17976

Merged
mushtaqak merged 1 commit into
transcripts-phase-2from
mushtaq/html5_sources_transcript
Apr 25, 2018
Merged

Update the get_transcript util with html5_sources#17976
mushtaqak merged 1 commit into
transcripts-phase-2from
mushtaq/html5_sources_transcript

Conversation

@mushtaqak

@mushtaqak mushtaqak commented Apr 17, 2018

Copy link
Copy Markdown
Contributor

Update the get_transcript util with html5_sources

EDUCATOR-2746

@mushtaqak
mushtaqak changed the base branch from master to ammar/EDUCATOR-1759-delete-transcript-from-advance-tab April 17, 2018 12:55
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak
mushtaqak force-pushed the mushtaq/html5_sources_transcript branch from 81d69e3 to ec00c22 Compare April 17, 2018 13:05
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

1 similar comment
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-1759-delete-transcript-from-advance-tab branch 2 times, most recently from f2b499e to 82d0968 Compare April 23, 2018 13:45
@mushtaqak
mushtaqak force-pushed the mushtaq/html5_sources_transcript branch from c07d57a to f5f2b19 Compare April 23, 2018 14:11
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

1 similar comment
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak
mushtaqak force-pushed the mushtaq/html5_sources_transcript branch from a24eb23 to a28b9bb Compare April 24, 2018 07:00
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-1759-delete-transcript-from-advance-tab branch from 82d0968 to d5758bd Compare April 24, 2018 11:50
@mushtaqak
mushtaqak force-pushed the mushtaq/html5_sources_transcript branch from a28b9bb to e0cbe78 Compare April 24, 2018 14:03
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run all

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar muhammad-ammar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 just one minor comment

except KeyError:
raise NotFoundError
possible_sub_ids = [youtube_id, sub, video.youtube_id_1_0] + get_html5_ids(video.html5_sources)
for sub_id in possible_sub_ids:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about for sub_id in set(possible_sub_ids): to avoid duplicates?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set reorders the element in ascending order which is what we don't want.

@mushtaqak
mushtaqak force-pushed the mushtaq/html5_sources_transcript branch from e0cbe78 to b181e6b Compare April 25, 2018 12:43
@mushtaqak
mushtaqak changed the base branch from ammar/EDUCATOR-1759-delete-transcript-from-advance-tab to transcripts-phase-2 April 25, 2018 12:43
@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run all

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

1 similar comment
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run all

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

1 similar comment
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run bokchoy

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run quality

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run python

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run python

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

2 similar comments
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run bokchoy

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run python

1 similar comment
@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run python

@mushtaqak

Copy link
Copy Markdown
Contributor Author

jenkins run bokchoy

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar

Copy link
Copy Markdown
Contributor

@mushtaqak build passed and green

@mushtaqak
mushtaqak merged commit 1ba833f into transcripts-phase-2 Apr 25, 2018
@mushtaqak
mushtaqak deleted the mushtaq/html5_sources_transcript branch April 25, 2018 16:41
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants