Звук дорожки: студия в заголовке короче, чем в строке «Аудио» (HDrezka ~ HDrezka Studio)
docker / build (push) Successful in 1m21s
docker / build (push) Successful in 1m21s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
690275dcb0
commit
d2cf488b9c
1 file changed
+1
-1
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user