cms icon indicating copy to clipboard operation
cms copied to clipboard

Create a simple script that takes a json with duration of videos and updates the `duration` parameter in the DB

Open hkirat opened this issue 10 months ago • 2 comments

In the VideoMetadata table, we have a duration field that isnt yet populated Given a json that looks like this

[{
	id: 3,
      duration: 905
}, {
	id: 4,
     duration: “”
}]

Where id is the contentId field in the VideoMetadata table

hkirat avatar Apr 12 '24 11:04 hkirat

Needed after https://github.com/code100x/cms/pull/331

hkirat avatar Apr 12 '24 11:04 hkirat

can I work on this @hkirat?

Pratham271 avatar Apr 12 '24 11:04 Pratham271