cms icon indicating copy to clipboard operation
cms copied to clipboard

feature: Show video duration to the thumbnail instead of 0

Open mvp5464 opened this issue 10 months ago • 7 comments

Is your feature request related to a problem? Please describe. In the thumbnail of the video it shows 0 instead of real time duration.

Describe the solution you'd like It should show real duration of the video

Describe alternatives you've considered Seed the database with true duration of the video

Additional context Screenshot

mvp5464 avatar Apr 23 '24 08:04 mvp5464

So do you want to remove that zero on thumbnails??

aryan-17 avatar Apr 25 '24 18:04 aryan-17

No, It is supposed to have total video duration on it (same as youtube) but the database is empty so to fill the db and then fetch that data here.

mvp5464 avatar Apr 26 '24 04:04 mvp5464

I guess it is showing in some places and not in some places

manthan-sharma-23 avatar Apr 26 '24 06:04 manthan-sharma-23

yeah we have a json file with the durations just need to seed the DB I think someone created the code to seed it

hkirat avatar Apr 26 '24 07:04 hkirat

Is this issue closed then?

I think the pr raised #486 has resolved this issue but still needs to clear the linting tests. That's the thing still pending

aryan-17 avatar Apr 26 '24 07:04 aryan-17

yeah we have a json file with the durations just need to seed the DB I think someone created the code to seed it

@hkirat sir,

  • I think you are saying about this PR #392, it seeds the DB by running a command,
  • PR #486, does it without any command or any json file. (I thought we don't have a json file with duration so created this)

mvp5464 avatar Apr 26 '24 08:04 mvp5464

Is this issue closed then?

I think the pr raised #486 has resolved this issue but still needs to clear the linting tests. That's the thing still pending

@aryan-17 Ya created, but json file is already there so may be not needed this pr

mvp5464 avatar Apr 26 '24 08:04 mvp5464