From d2cf488b9c4885201ad0aca9461450cc9295bd7d Mon Sep 17 00:00:00 2001 From: Denozordec Date: Mon, 9 Nov 2026 09:40:40 +0700 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B2=D1=83=D0=BA=20=D0=B4=D0=BE=D1=80?= =?UTF-8?q?=D0=BE=D0=B6=D0=BA=D0=B8:=20=D1=81=D1=82=D1=83=D0=B4=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2?= =?UTF-8?q?=D0=BA=D0=B5=20=D0=BA=D0=BE=D1=80=D0=BE=D1=87=D0=B5,=20=D1=87?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=B2=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B5=20?= =?UTF-8?q?=C2=AB=D0=90=D1=83=D0=B4=D0=B8=D0=BE=C2=BB=20(HDrezka=20~=20HDr?= =?UTF-8?q?ezka=20Studio)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- src/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/release.py b/src/release.py index 8655d5c..3053d28 100644 --- a/src/release.py +++ b/src/release.py @@ -374,7 +374,7 @@ def fill_audio(predictor, tracks: list[dict], lines: list[dict]) -> None: """ for t in tracks: if not t.get("audio") and t.get("studio"): - info = next(iter(match_audio(t["studio"], lines)), None) + info = next((i for i in lines if any(same_studio(t["studio"], n) for n in i["names"])), None) # «HDrezka» ~ «HDrezka Studio» if info: t["audio"] = audio_summary(info) have = {t.get("lang") for t in tracks}