From 75911cbc40fd11b217fc68a79caabbc38b9715f1 Mon Sep 17 00:00:00 2001 From: raph Date: Fri, 24 Jan 2025 21:18:52 +0100 Subject: [PATCH] Add .opus to audio types (#4194) --- src/inscriptions/media.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inscriptions/media.rs b/src/inscriptions/media.rs index 65d3182d28..0cc5e7b0ba 100644 --- a/src/inscriptions/media.rs +++ b/src/inscriptions/media.rs @@ -80,6 +80,7 @@ impl Media { ("application/yaml", TEXT, Code(Yaml), &["yaml", "yml"]), ("audio/flac", GENERIC, Audio, &["flac"]), ("audio/mpeg", GENERIC, Audio, &["mp3"]), + ("audio/ogg;codecs=opus", GENERIC, Audio, &["opus"]), ("audio/wav", GENERIC, Audio, &["wav"]), ("font/otf", GENERIC, Font, &["otf"]), ("font/ttf", GENERIC, Font, &["ttf"]),