Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
When I run derivatives on an mp3 or a wav file, I get 2 derivatives, both with use ThumbnailImage and both with mime_type application/octet-stream. They should have use ServiceFile and mime_types should be:
for mp3: audio/mpeg
for ogg: audio/ogg
Also the original file has mime_type audio/x-wave even though it's an mp3.
When the original file is a wav, it also gets audio/x-wave however it should be either audio/wav or audio/x-wav with no 'e'.
Descriptive summary
When I run derivatives on an mp3 or a wav file, I get 2 derivatives, both with use
ThumbnailImage
and both with mime_typeapplication/octet-stream
. They should have useServiceFile
and mime_types should be:audio/mpeg
audio/ogg
Also the original file has mime_type
audio/x-wave
even though it's an mp3.When the original file is a wav, it also gets
audio/x-wave
however it should be eitheraudio/wav
oraudio/x-wav
with no 'e'.