Mime type for wav file?

What should be put as string for audio wave file? It shows up as audio/x-wav as output of “mimetype” or “file --mime-type”.

What didn’t work is matching based on MIME type.
Tested:
“is” => “audio/x-wav”
“matches” => “/audio/x-wav/”

Tried also couple other variations.

Any thoughts on what should be put as matching criteria? (is/matches).

Thanks in advance.

Nextcloud:25 (docker)

wav files are registered as audio/wav in nextcloud:

Here some examples:

Hope that helps,
much luck!

1 Like

Thank you - it worked. Lesson learnt - CLI mime type is not the same as PHP mime type.