openedx / openedx/openedx-platform
Implement video duration extraction for Non-YouTube-hosted content
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_UPDATEDis received - Store the duration value in the module store
This issue depends of https://github.com/openedx/edx-platform/issues/36988
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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