From 2ab85b64ffc760ce275335b8dd03f804430d3ff1 Mon Sep 17 00:00:00 2001 From: Maxim Vershinin Date: Wed, 2 Sep 2026 21:24:18 +0500 Subject: [PATCH] fix #26 (backend,frontend): Frontend can't apply codecs filters correctly --- web/backend/api/formats.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/backend/api/formats.py b/web/backend/api/formats.py index 6c88699..9858611 100644 --- a/web/backend/api/formats.py +++ b/web/backend/api/formats.py @@ -3,7 +3,7 @@ from fastapi import APIRouter -from audio_splitter.constants import CONTAINER_INFO, CODEC_INFO +from audio_splitter.constants import CONTAINER_INFO, CODEC_INFO, COMPATIBILITY_MATRIX router = APIRouter(prefix="/api", tags=["formats"]) @@ -11,9 +11,10 @@ router = APIRouter(prefix="/api", tags=["formats"]) @router.get("/formats") async def get_formats(): """ - Return the list of supported containers and codecs. + Return the list of supported containers, codecs, and compatibility matrix. """ return { "containers": CONTAINER_INFO, "codecs": CODEC_INFO, + "compatibility": COMPATIBILITY_MATRIX, } -- 2.52.0