Add thumbnails for Child Talks via ThumbnailExtractor
and Downloader
#498
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a
Talk::ThumbnailExtractor
andTalk::Downloader
which allows a meta talk YouTube video to be downloaded so we can extract thumbnails for each of the segments for thechild_talks
of a Meta Talk.The video only has to be downloaded once so the person who is committing the new talks can run the
rails download_missing_meta_talks
rake task to download the videos for which the thumbnails are missing and then run therails extract_thumbnails
rake task to actually extract the thumbnails.Now the CI (seed_smoke_test) will fail if somebody forgets to extract the thumbnails, since we now run the
rails verify_thumbnails
rake task in CI to make sure we always have all required thumbnails.