mitodl / odl-video-service

building blocks for a basic video service for ODL
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Create management command to backfill video duration on edx #1096

Closed rachellougee closed 5 months ago

rachellougee commented 5 months ago

What are the relevant tickets?

https://github.com/mitodl/hq/issues/3896

Description (What does it do?)

This adds a new management command to backfill all the video duration to their associated edx endpoints

12114 videos will be updated on production https://bi.odl.mit.edu/queries/1365

How can this be tested?

Run docker compose run web ./manage.py update_video_on_edx --all --chunk-size 1000 to backfill all the videos in chunks default to 1000 Run docker compose run web ./manage.py update_video_on_edx --video-key <UUID> to backfill a specific video's duration to edx