Helioviewer-Project / helioviewer.org

Main web application for solar data visualization
Other
18 stars 15 forks source link

Preview Thumbnails for movies do not show up. #306

Open wafels opened 3 years ago

wafels commented 3 years ago

Old movies don't have a movie thumbnail. They should.

Screen Shot 2021-08-20 at 09 54 53

dgarciabriseno commented 2 years ago

@wafels Can you send me the ID of a movie that's missing its thumbnail?

dgarciabriseno commented 2 years ago

@wafels will need to see the cron job on helioviewer.org again

dgarciabriseno commented 2 years ago

Movies older than 90 days are removed, most likely this is the reason for the missing thumbnails.

dgarciabriseno commented 2 years ago

When deleting movies we should only remove the .mp4, .flv, and .webm files so that we keep the png previews

dgarciabriseno commented 2 years ago

@wafels Sent you a proposal over email to update the cron job to save thumbnails. Let me know if you think it's an appropriate solution.

wafels commented 2 years ago

After how much time does the "regenerate" option kick in?

dgarciabriseno commented 2 years ago

What do you mean by that?

wafels commented 2 years ago

The screenshot shows an option to regenerate a movie. That means we deleted it on the server. How old does a movie have to be before it is deleted and the "regenerate" option is presented?

dgarciabriseno commented 2 years ago

Ah, I see. Regenerate option is set to 180 days. Seems like we should reduce that to 90. Is it okay that the thumbnails are missing for those older videos with the regenerate option?

dgarciabriseno commented 2 years ago

This is fixed in addb4eeb2d0e4718b79ab5cd87b41d66fddbcc00 On the condition that we don't expect movies older than 90 days to have a thumbnail.

dgarciabriseno commented 1 year ago

Double check this commit was done, then close