daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

daisy202-validator: fails to validate if the mime-type is x-wav #81

Closed egli closed 1 year ago

egli commented 9 years ago

According to http://filext.com/file-extension/WAV a wav file can have the following mime-types:

Currently only audio/wav is supported. I think at least audio/x-wav should also be supported

josteinaj commented 9 years ago

Do you have production tools that use audio/x-wav ?

Should we suggest that users use audio/wav by displaying warnings for the three other variations?

rdeltour commented 9 years ago

Good catch, strictly speaking the spec doesn't mandate any particular media type.

@josteinaj, why would you issue warning for other media types ? For one thing, DAISY 3 mandates audio/x-wav

josteinaj commented 9 years ago

I just thought maybe audio/wav was recommended.

Let's allow them all with no warnings then?

rdeltour commented 9 years ago

Let's allow them all with no warnings then?

yes, that sounds right to me (although I've never encountered the audio/x-pn-wav form...)

egli commented 9 years ago

cool, thanks

bertfrees commented 1 year ago

Fixed, see https://github.com/daisy/pipeline/issues/653.