From 6a15136ee9cd2711c9e818906d7cd307a704a409 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Wed, 25 Dec 2024 10:52:48 -0500 Subject: [PATCH] drush cex --- config/sync/core.extension.yml | 4 +++- ...lr_field_type.islandora_hocr_und_7_0_0.yml | 2 +- ...tion.generate_hls_streaming_derivative.yml | 22 +++++++++++++++++++ ...system.action.get_vtt_from_audio_video.yml | 22 +++++++++++++++++++ config/sync/views.view.search_in_hocr.yml | 2 +- 5 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 config/sync/system.action.generate_hls_streaming_derivative.yml create mode 100644 config/sync/system.action.get_vtt_from_audio_video.yml diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 80607523..dea3bd22 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -56,6 +56,7 @@ module: islandora_breadcrumbs: 0 islandora_core_feature: 0 islandora_fits: 0 + islandora_hls: 0 islandora_hocr: 0 islandora_iiif: 0 islandora_iiif_hocr: 0 @@ -64,6 +65,7 @@ module: islandora_text_extraction: 0 islandora_text_extraction_defaults: 0 islandora_video: 0 + islandora_vtt: 0 islandora_workbench_integration: 0 jquery_ui: 0 jquery_ui_autocomplete: 0 @@ -71,8 +73,8 @@ module: jquery_ui_menu: 0 jquery_ui_slider: 0 jquery_ui_touch_punch: 0 - jsonld: 0 js_cookie: 0 + jsonld: 0 jwt: 0 key: 0 language: 0 diff --git a/config/sync/search_api_solr.solr_field_type.islandora_hocr_und_7_0_0.yml b/config/sync/search_api_solr.solr_field_type.islandora_hocr_und_7_0_0.yml index 7414f347..3a028be2 100644 --- a/config/sync/search_api_solr.solr_field_type.islandora_hocr_und_7_0_0.yml +++ b/config/sync/search_api_solr.solr_field_type.islandora_hocr_und_7_0_0.yml @@ -13,6 +13,7 @@ domains: { } field_type: name: islandora_hocr_und class: solr.TextField + storeOffsetsWithPositions: true analyzers: - type: index @@ -83,7 +84,6 @@ field_type: class: solr.LowerCaseFilterFactory - class: solr.RemoveDuplicatesTokenFilterFactory - storeOffsetsWithPositions: true unstemmed_field_type: null spellcheck_field_type: null collated_field_type: null diff --git a/config/sync/system.action.generate_hls_streaming_derivative.yml b/config/sync/system.action.generate_hls_streaming_derivative.yml new file mode 100644 index 00000000..dd89dba4 --- /dev/null +++ b/config/sync/system.action.generate_hls_streaming_derivative.yml @@ -0,0 +1,22 @@ +uuid: 9fe41bdb-be1a-4e71-b896-25120f034582 +langcode: en +status: true +dependencies: + module: + - islandora_fits +_core: + default_config_hash: xRog-M4qRYbdfpQYV5eI4wBFc5w6UqdWViErNgvXNl4 +id: generate_hls_streaming_derivative +label: 'Create HLS streaming derivative' +type: node +plugin: generate_fits_derivative +configuration: + queue: islandora-hls + event: 'Generate Derivative' + source_term_uri: 'http://pcdm.org/use#OriginalFile' + derivative_term_uri: 'http://pcdm.org/use#ServiceFile' + mimetype: application/gzip + args: null + destination_media_type: file + scheme: private + path: 'derivatives/hls/[node:nid]/hls.tar.gz' diff --git a/config/sync/system.action.get_vtt_from_audio_video.yml b/config/sync/system.action.get_vtt_from_audio_video.yml new file mode 100644 index 00000000..b16fac4a --- /dev/null +++ b/config/sync/system.action.get_vtt_from_audio_video.yml @@ -0,0 +1,22 @@ +uuid: f4aacd90-aea0-4aa6-bdeb-19961db61576 +langcode: en +status: true +dependencies: + module: + - islandora_text_extraction +_core: + default_config_hash: k5mWEzYBUs0yw8sFWdr-v9IcLsRW_Q52M-MTakxJKDk +id: get_vtt_from_audio_video +label: 'Create VTT file from Audio or Video' +type: node +plugin: generate_ocr_derivative +configuration: + queue: islandora-connector-whisper + event: 'Generate Derivative' + source_term_uri: 'http://pcdm.org/use#OriginalFile' + derivative_term_uri: 'http://pcdm.org/use#ExtractedText' + mimetype: text/plain + args: '' + destination_media_type: extracted_text + scheme: private + path: 'derivatives/vtt/[node:nid].txt' diff --git a/config/sync/views.view.search_in_hocr.yml b/config/sync/views.view.search_in_hocr.yml index 714783b6..f6a369ca 100644 --- a/config/sync/views.view.search_in_hocr.yml +++ b/config/sync/views.view.search_in_hocr.yml @@ -118,6 +118,7 @@ display: type: full options: offset: 0 + pagination_heading_level: h4 items_per_page: 10 total_pages: null id: 0 @@ -135,7 +136,6 @@ display: offset: false offset_label: Offset quantity: 5 - pagination_heading_level: h4 exposed_form: type: basic options: