From c635080a0bfc7efd8519adfa527b012115cb0208 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Sun, 21 Jul 2024 13:42:51 +0100 Subject: [feature] add flac support (#3121) * add flac support to the ffprobe format/stream -> filetype parser * also add audio/flac for flac (not just x-flac) * update tests --------- Co-authored-by: tobi --- internal/media/manager.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/media/manager.go') diff --git a/internal/media/manager.go b/internal/media/manager.go index 13bcebe79..0099dfe07 100644 --- a/internal/media/manager.go +++ b/internal/media/manager.go @@ -43,6 +43,9 @@ var SupportedMIMETypes = []string{ "video/x-msvideo", // .avi + "audio/flac", // .flac + "audio/x-flac", // .flac + // png types "image/png", // .png "image/apng", // .apng -- cgit v1.2.3