Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to limit thumbnails generation query to visual items only #95

Open
mberkowski opened this issue Dec 22, 2023 · 1 comment
Open

Try to limit thumbnails generation query to visual items only #95

mberkowski opened this issue Dec 22, 2023 · 1 comment
Assignees

Comments

@mberkowski
Copy link
Member

mberkowski commented Dec 22, 2023

Building on #14 ...

Rake task in lib/tasks/umedia/thumbnails.rake gets thumbnails for all documents record_type:primary. app/services/umedia/image_service.rb retrieves a remote thumb from the doc's object or object_ssi URL and jobs/umedia/store_image_job.rb queues these up.

Audio: Do we need thumbnails for audio docs? If CONTENTdm is serving the same audio media thumb for non-visual content can we just keep a local copy and use it, then exclude the audio docs when building up the StoreImageJob queue

Video: Does CONTENTdm actually have any useful thumbnail to provide? We probably need to get them from Kaltura. e.g. https://cdm16022.contentdm.oclc.org/utils/getthumbnail/collection/p16022coll262/id/355 Indexed doc includes "first_viewer_type":"kaltura_video", The ImageService needs a different behavior for video.

@jasonoroy
Copy link

jasonoroy commented Dec 22, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants