From 8a190d7dc5d1e448dc0c9739c6d3d81be67c3475 Mon Sep 17 00:00:00 2001 From: ytqh Date: Mon, 5 May 2025 19:56:02 +0800 Subject: [PATCH] feat: add mpeg support --- api/constants/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/constants/__init__.py b/api/constants/__init__.py index a84de0a451..6c420a52cd 100644 --- a/api/constants/__init__.py +++ b/api/constants/__init__.py @@ -11,7 +11,7 @@ IMAGE_EXTENSIONS.extend([ext.upper() for ext in IMAGE_EXTENSIONS]) VIDEO_EXTENSIONS = ["mp4", "mov", "mpeg", "mpga"] VIDEO_EXTENSIONS.extend([ext.upper() for ext in VIDEO_EXTENSIONS]) -AUDIO_EXTENSIONS = ["mp3", "m4a", "wav", "webm", "amr"] +AUDIO_EXTENSIONS = ["mp3", "m4a", "wav", "webm", "amr", "mpeg"] AUDIO_EXTENSIONS.extend([ext.upper() for ext in AUDIO_EXTENSIONS])