UMNLibraries / cdm-blacklightify

Blacklightify a CONTENTdm collection
MIT License
2 stars 0 forks source link

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

Open mberkowski opened 10 months ago

mberkowski commented 10 months ago

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 commented 10 months ago

Audio: we have a special audio thumbnail in UMedia that gets applied to all type=audio records. Do not use the CDM thumbnail

[image: image.png]

We will need to think about whether or not we need to create a new version to match the new design.

Video: Thumbnails are derived directly from Kaltura which creates and stores a thumbnail of each video. We should use these and avoid using the CDM generated thumbnail.

On Fri, Dec 22, 2023 at 8:13 AM Michael Berkowski @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/UMNLibraries/cdm-blacklightify/issues/95, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARCFFUI67W7CVCEKZ34O43YKWIQLAVCNFSM6AAAAABA74GWCGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TGOJYGQZDGOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jason Roy Director | Cataloging, Metadata, & Digitization Services 160B Wilson Library | 309 - 19th Avenue South | Minneapolis, MN 55455 University of Minnesota Libraries | lib.umn.edu | 612-625-0028 ORCID: 0000-0002-3644-1970 https://orcid.org/0000-0002-3644-1970 he, him