Module: Hydra::Derivatives
- Extended by:
- ActiveSupport::Autoload, ActiveSupport::Concern, Deprecation
- Defined in:
- lib/hydra/derivatives/services/remote_source_file.rb,
lib/hydra/derivatives.rb,
lib/hydra/derivatives/config.rb,
lib/hydra/derivatives/logger.rb,
lib/hydra/derivatives/processors.rb,
lib/hydra/derivatives/io_decorator.rb,
lib/hydra/derivatives/audio_encoder.rb,
lib/hydra/derivatives/runners/runner.rb,
lib/hydra/derivatives/services/image_service.rb,
lib/hydra/derivatives/runners/pdf_derivatives.rb,
lib/hydra/derivatives/runners/audio_derivatives.rb,
lib/hydra/derivatives/runners/full_text_extract.rb,
lib/hydra/derivatives/runners/image_derivatives.rb,
lib/hydra/derivatives/runners/video_derivatives.rb,
lib/hydra/derivatives/services/tempfile_service.rb,
lib/hydra/derivatives/services/mime_type_service.rb,
lib/hydra/derivatives/services/capability_service.rb,
lib/hydra/derivatives/runners/document_derivatives.rb,
lib/hydra/derivatives/runners/jpeg2k_image_derivatives.rb,
lib/hydra/derivatives/runners/active_encode_derivatives.rb,
lib/hydra/derivatives/services/persist_output_file_service.rb,
lib/hydra/derivatives/services/retrieve_source_file_service.rb,
lib/hydra/derivatives/services/persist_external_file_output_file_service.rb,
lib/hydra/derivatives/services/persist_basic_contained_output_file_service.rb
Overview
For the case where the source file is a remote file, and we don’t want to download the file locally, just return the file name or file path (or whatever we need to pass to the encoding service so that it can find the file).
Defined Under Namespace
Modules: ImageService, MimeTypeService, Processors Classes: ActiveEncodeDerivatives, AudioDerivatives, AudioEncoder, CapabilityService, Config, DocumentDerivatives, FullTextExtract, ImageDerivatives, IoDecorator, Jpeg2kImageDerivatives, Logger, PdfDerivatives, PersistBasicContainedOutputFileService, PersistExternalFileOutputFileService, PersistOutputFileService, RemoteSourceFile, RetrieveSourceFileService, Runner, TempfileService, TimeoutError, VideoDerivatives
Constant Summary collapse
- CONFIG_METHODS =
%i[ffmpeg_path libreoffice_path temp_file_base fits_path kdu_compress_path kdu_compress_recipes enable_ffmpeg source_file_service output_file_service active_encode_poll_time].freeze
Class Method Summary collapse
Class Method Details
.config ⇒ Object
47 48 49 |
# File 'lib/hydra/derivatives.rb', line 47 def self.config @config ||= reset_config! end |
.reset_config! ⇒ Object
51 52 53 |
# File 'lib/hydra/derivatives.rb', line 51 def self.reset_config! @config = Config.new end |