From 336a944142d3ceacdcc48a31c84480e2579215c7 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Wed, 11 Dec 2024 19:33:28 +0100 Subject: [PATCH] fix(ui): identify .ogg and .mp4 as audio files --- ui/src/lib/helpers/file-extension.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/lib/helpers/file-extension.ts b/ui/src/lib/helpers/file-extension.ts index 4218e7f23..db2396e7a 100644 --- a/ui/src/lib/helpers/file-extension.ts +++ b/ui/src/lib/helpers/file-extension.ts @@ -134,7 +134,9 @@ export function isAudio(ext?: string | null) { return ( [ '.oga', + '.ogg', '.mp3', + '.mp4', '.flac', '.midi', '.ape',