From d5f30cd05d3f5456799c1c5e791c27d78e61855c Mon Sep 17 00:00:00 2001 From: nk Date: Fri, 5 Jun 2026 20:36:45 +0300 Subject: [PATCH] =?UTF-8?q?fix(now-playing):=20=D0=93=D0=A3=D0=A1=D0=AC=20?= =?UTF-8?q?=E2=80=94=20=D0=BD=D0=B5=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B1=D0=B8=D1=82=D1=8B?= =?UTF-8?q?=D0=B9=20art=20AzuraCast,=20=D0=BE=D0=B1=D0=BB=D0=BE=D0=B6?= =?UTF-8?q?=D0=BA=D0=B8=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20=D0=BE=D0=B1?= =?UTF-8?q?=D0=BE=D0=B3=D0=B0=D1=89=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit song.art (/api/station/{slug}/art/{hash}) на radiogoose.ru отдаёт 404 — route обложек не включён. Передаём coverUrl=null → обложку подтянет iTunes/Deezer по normKey, как у ICY-станций. --- src/now-playing/goose-now-playing.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/now-playing/goose-now-playing.service.ts b/src/now-playing/goose-now-playing.service.ts index 835feab..45016aa 100644 --- a/src/now-playing/goose-now-playing.service.ts +++ b/src/now-playing/goose-now-playing.service.ts @@ -60,12 +60,16 @@ export class GooseNowPlayingService { const title = (song?.title ?? '').trim(); if (!artist || !title) return; + // ВНИМАНИЕ: art-URL AzuraCast (`song.art`) на radiogoose.ru отдаёт 404 + // (route обложек на сервере не включён) — НЕ используем его, иначе на + // карточке битая картинка. Отдаём null → обложку подтянет наше обогащение + // (iTunes/Deezer по normKey), как у обычных ICY-станций. await this.nowPlayingService.ingest({ stationDbId: station.id, stationNumericId: station.stationId, artist, song: title, - coverUrl: song?.art?.trim() || null, + coverUrl: null, }); if (!station.isOnline) {