From 4ffa85f95b17db5d779982d7e4822d98be7848aa Mon Sep 17 00:00:00 2001 From: Sylvain Lesage Date: Wed, 21 Aug 2024 10:17:35 +0000 Subject: [PATCH] mediatype of opus is audio/ogg --- libs/libcommon/src/libcommon/viewer_utils/asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libcommon/src/libcommon/viewer_utils/asset.py b/libs/libcommon/src/libcommon/viewer_utils/asset.py index 834d02b9c..6a6f4fb5b 100644 --- a/libs/libcommon/src/libcommon/viewer_utils/asset.py +++ b/libs/libcommon/src/libcommon/viewer_utils/asset.py @@ -12,7 +12,7 @@ from libcommon.storage_client import StorageClient -SUPPORTED_AUDIO_EXTENSION_TO_MEDIA_TYPE = {".wav": "audio/wav", ".mp3": "audio/mpeg", ".opus": "audio/opus"} +SUPPORTED_AUDIO_EXTENSION_TO_MEDIA_TYPE = {".wav": "audio/wav", ".mp3": "audio/mpeg", ".opus": "audio/ogg"} SUPPORTED_AUDIO_EXTENSIONS = SUPPORTED_AUDIO_EXTENSION_TO_MEDIA_TYPE.keys() DATASET_GIT_REVISION_PLACEHOLDER = "{dataset_git_revision}"