From 497b45f2ca5bd116445472972361a34899b48cfb Mon Sep 17 00:00:00 2001 From: Florent Chehab Date: Mon, 13 Apr 2026 12:04:11 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(summary)=20allow=20more=20file=20exte?= =?UTF-8?q?nsions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow more file extensions by default. --- CHANGELOG.md | 1 + src/summary/summary/core/config.py | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74c9e7f9..5ed9c80a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to - ⬆️(backend) bump pygments from 2.19.2 to 2.20.0 in /src/backend - ♻️(backend) use Authorization header for LiveKit token authentication - 🥅(backend) refine Twirp error handling for participant operations +- ✨(summary) allow more file extensions #1265 ### Fixed diff --git a/src/summary/summary/core/config.py b/src/summary/summary/core/config.py index 74753ab3..dfd83fde 100644 --- a/src/summary/summary/core/config.py +++ b/src/summary/summary/core/config.py @@ -56,7 +56,15 @@ class Settings(BaseSettings): # Audio recordings recording_max_duration: Optional[int] = None - recording_allowed_extensions: Set[str] = {".ogg", ".mp4"} + recording_allowed_extensions: Set[str] = { + ".ogg", + ".mp4", + ".m4a", + ".webm", + ".ogv", + ".opus", + ".wav", + } recording_video_extensions: Set[str] = {".mp4"} # Celery settings