openedx / openedx/openedx-platform

Implement video duration extraction for Non-YouTube-hosted content

Open
#36,993 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

Description

To collect the duration of all videos in a course, we can continue by retrieving information for Non-YouTube-hosted videos. The process should be asynchronous to avoid negatively impacting the user experience, especially due to the latency of external API requests.

Acceptance Criteria
  • Retrieve video duration using the scrapping or another external tool like ffprobe
  • Trigger an asynchronous task via Celery when XBLOCK_UPDATED is received
  • Store the duration value in the module store

This issue depends of https://github.com/openedx/edx-platform/issues/36988

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the XBLOCK_UPDATED handling and reviewing the related work in issue 36988. Identify the existing module-store update path and Celery task conventions, then verify that a non-YouTube duration is retrieved asynchronously and stored in the module store.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.